X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/7381abdac347652dbe78cfa6f2a1da417f6dec55..69c4602aca9da2729e48a0027b7f18be9fd1abdd:/backmeupscotty?ds=inline diff --git a/backmeupscotty b/backmeupscotty index e17a4c6..68afaf6 100644 --- a/backmeupscotty +++ b/backmeupscotty @@ -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 }