Code

- Added cleaning of .opts and fifo for client
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 May 2010 17:22:02 +0000 (17:22 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 May 2010 17:22:02 +0000 (17:22 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18523 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-client

index d1d62dff398c670b322f2f8c859db2338eb917a7..9253fd7b4c6d1d78af4958b4b5fb8958bc37c8e5 100755 (executable)
@@ -381,6 +381,10 @@ sub sig_int_handler {
 # to be changed crude !!
 #      system("kill `ps -C gosa-si-server -o pid=`");
        $global_kernel->yield('shutdown');
+
+       unlink ('/var/run/gosa-si/gosa-si-client.opts');
+
+       unlink ($fai_com_fifo);
        
        $pid->remove or warn "Could not remove $pid_file\n";