1
0
mirror of https://github.com/rricharz/Tek4010.git synced 2026-02-03 15:22:53 +00:00

bug fixed in -wait

This commit is contained in:
Rene Richarz
2023-10-18 15:38:07 +02:00
parent e04a8144d8
commit 8e91aa6d49
2 changed files with 1 additions and 1 deletions

BIN
tek4010

Binary file not shown.

2
tube.c
View File

@@ -499,7 +499,7 @@ int tube_on_timer_event()
// is child process still running?
int status;
if (argWait) {
if (argWait && (tube_isInput() == 0) && (waitpid(-1, &status, WNOHANG))) {
if (firstWait == 0)
firstWait = tube_mSeconds();
else {