From: opensides Date: Mon, 17 May 2010 17:22:02 +0000 (+0000) Subject: - Added cleaning of .opts and fifo for client X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0adb17608660d9454ee603b7419621dc239a42b3;p=gosa.git - Added cleaning of .opts and fifo for client git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18523 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index d1d62dff3..9253fd7b4 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -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";