From: janw Date: Tue, 12 Feb 2008 10:01:10 +0000 (+0000) Subject: corrected lock file deletion on startup. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=25bcefa5047144a7cc62673c63ee0cd2b0df235b;p=gosa.git corrected lock file deletion on startup. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8851 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index c279b4334..f909a06d0 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1096,7 +1096,7 @@ daemon_log(" ", 1); daemon_log("$0 started!", 1); # delete old DBsqlite lock files -system('rm -f /tmp/gosa_si_lock*gosa-si-server*'); +unlink('/tmp/gosa_si_lock*'); # connect to gosa-si job queue my @job_col_names = ("id INTEGER", "timestamp", "status", "result", "headertag", "targettag", "xmlmessage", "macaddress");