Parcourir la source

Less stringent checks, in case we get multiple processes up

Zachary Kotlarek il y a 12 ans
Parent
commit
b57f2840e3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      backup/checkMount.sh

+ 1 - 1
backup/checkMount.sh

@@ -42,7 +42,7 @@ if [ $FAILED -gt 0 ]; then
 
 	echo 'Resetting WebDAV mount' 1>&2
 
-	if [ -n "${PID}" ] && [ $PID -gt 1 ]; then
+	if [ -n "${PID}" ]; then
 		${SUDO} kill -9 $PID
 	fi