Code

corrected lock file deletion on startup.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Feb 2008 10:01:10 +0000 (10:01 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Feb 2008 10:01:10 +0000 (10:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8851 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index c279b433456abc0f1c64f36570538015393ea0f0..f909a06d0073226e5b36a86e75d856a0c22b9071 100755 (executable)
@@ -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");