]> git.treefish.org Git - backmeupscotty.git/blobdiff - backmeupscotty
Fixed lockdir path.
[backmeupscotty.git] / 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
 }