]> git.treefish.org Git - backmeupscotty.git/commitdiff
Fixed lockdir path.
authorAlexander Schmidt <alex@treefish.org>
Sat, 14 Feb 2015 08:43:14 +0000 (09:43 +0100)
committerAlexander Schmidt <alex@treefish.org>
Sat, 14 Feb 2015 08:43:14 +0000 (09:43 +0100)
backmeupscotty

index e17a4c6a215b8f02d4de9eb4e4d6b033eec3a740..68afaf6d591cb50e72a24b5e54d95097dcd4d917 100644 (file)
@@ -126,7 +126,7 @@ function scottysync {
 }
 
 function deleteLock {
-    if ! rmdir /tmp/$(basename $0).lock; then
+    if ! rmdir /var/run/$(basename $0).lock; then
        scottyerror "Could not delete lockfile /tmp/$(basename $0).lock!"
     fi
 }