From: Alexander Schmidt Date: Sat, 14 Feb 2015 08:43:14 +0000 (+0100) Subject: Fixed lockdir path. X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/commitdiff_plain/69c4602aca9da2729e48a0027b7f18be9fd1abdd Fixed lockdir path. --- 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 }