diff --git a/arkdep b/arkdep index 4f8d7f6..f8c372e 100755 --- a/arkdep +++ b/arkdep @@ -13,8 +13,6 @@ if [[ -f /tmp/arkdep.lock ]]; then exit 5 fi -touch /tmp/arkdep.lock - ## Set common variables # declare -r arkdep_dir="$(readlink -m $ARKDEP_ROOT/arkdep)" @@ -118,6 +116,8 @@ unlock_and_quit () { exit $1 } +touch /tmp/arkdep.lock + ## Healthcheck # # Set common variables for healthcheck and cleanup,