summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index b0e857de..6b2531d2 100755
--- a/control-center
+++ b/control-center
@@ -526,7 +526,7 @@ $window_global->set_position(1);
$SIG{USR1} = \&sig_usr1;
$SIG{USR2} = \&sig_usr2;
$SIG{TERM} = \&quit_global;
-$SIG{CHLD} = sub { wait() };
+$SIG{CHLD} = sub { wait };
Gtk->main;
sub sig_usr1 {
@@ -603,7 +603,7 @@ sub compute_exec_string {
$emb_socket->show;
$SIG{CHLD} = undef;
$emb_socket->steal(launch_xapp($alternate));
- $SIG{CHLD} = wait;
+ $SIG{CHLD} = sub { wait };
}
} else { # not embedded
fork_($gtkplug == 0 ? $alternate->[0] : $alternate || $exec);