summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index f887d3fb..118c0397 100755
--- a/control-center
+++ b/control-center
@@ -956,7 +956,7 @@ sub sig_child() {
do {
$child_pid = waitpid(-1, POSIX::WNOHANG);
undef $pid_exp if $pid_exp eq $child_pid;
- } until $child_pid > 0;
+ } while $child_pid > 0;
# child unexpectedly died (cleanup since child_just_exited won't be called by plug-removed since plug never was added)
return unless $left_locked;
child_just_exited();