diff options
Diffstat (limited to 'backup.in')
-rwxr-xr-x | backup.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,6 @@ if [ ! "$(whoami)" == "root" ]; then exit 3 fi -[ -w "${Basis}" ] || exit 11 [ -e "${neues_Datum}" ] && exit 4 if ${seldom}; then for date_diff in $(seq ${seldomness}); do @@ -187,6 +186,7 @@ if ${seldom}; then fi done fi +[ -w "${Basis}" ] || exit 11 [ -s "${pidFile}" ] && kill -0 $(cat "${pidFile}") 2>/dev/null && exit 5 echo $$ > "${pidFile}" |