summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center4
1 files changed, 4 insertions, 0 deletions
diff --git a/control-center b/control-center
index 4df6384b..f3d3ef4c 100755
--- a/control-center
+++ b/control-center
@@ -1419,6 +1419,10 @@ sub kill_logdrake() {
}
sub quit_global() {
+ if (@pid_launched) {
+ &kill_children();
+ return 1; # tell gtk+ not to quit
+ }
&kill_children();
&kill_logdrake();
my ($x, $y) = $window_global->get_size;