diff --git a/pibackup.sh b/pibackup.sh index 7160752..0d5972b 100755 --- a/pibackup.sh +++ b/pibackup.sh @@ -28,13 +28,13 @@ if [ "$1" != "update" ]; then until [ $c -gt 179 ]; do if [ -f ${MountPoint}/mounted ]; then echo "$(date) - Backup Drive mounted" - c=100 + c=10000 else ((c++)) sleep 1s fi done - if [ $c != 100 ]; then + if [ $c != 10000 ]; then echo "$(date) - Backup Drive COULD NOT be mounted... exiting" exit 1 fi