X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=backup.sh;h=b672257073f722e6d80693eb8b45d8e28d9a9102;hb=c117a56142408835c92135b1091b345e4faf6708;hp=12b210ac5bd6cbc6a734f98b79e058e899651e8c;hpb=4ff9672fb8614ad8e39ada750d8a3baa8a98b944;p=backup.sh diff --git a/backup.sh b/backup.sh index 12b210a..b672257 100755 --- a/backup.sh +++ b/backup.sh @@ -68,6 +68,7 @@ if [ -e $LOCKFILE ]; then exit 1 fi; touch $LOCKFILE +echo "$$" > $LOCKFILE #syntax of remotestat: #hostname:/directory/