X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/5c8e1209ef263877c5d6fa0e00386c48c0b241ea..7381abdac347652dbe78cfa6f2a1da417f6dec55:/backmeupscotty?ds=sidebyside diff --git a/backmeupscotty b/backmeupscotty index be1ce20..e17a4c6 100644 --- a/backmeupscotty +++ b/backmeupscotty @@ -131,10 +131,6 @@ function deleteLock { fi } -function prepare { - scottyinfo "Preparing for sync." -} - function cleanup_abort { scottyerror "Caught exit signal! Cleaning up." @@ -213,7 +209,7 @@ function backmeupscotty { exit 0 } -if ! mkdir /tmp/$(basename $0).lock; then +if ! mkdir /var/run/$(basename $0).lock; then scottyerror "Another instance of $(basename $0) is still running!" exit 1 else