Code

gosa-si-client clean up all running processes
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 15:23:35 +0000 (15:23 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 15:23:35 +0000 (15:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9869 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-client

index 15eb03302e47baeb273ea379de7d1a53a79359d0..fa4b860472eb2f333482970fc1d5fc138ab04b1b 100755 (executable)
@@ -219,9 +219,9 @@ sub check_pid {
 
 sub sig_int_handler {
     my ($signal) = @_;
-
-    daemon_log("shutting down gosa-si-server", 1);
-    exit(1);
+       
+    daemon_log("shutting down gosa-si-client", 1);
+    system("killall gosa-si-client");
 }
 $SIG{INT} = \&sig_int_handler;