diff --git a/pibackup.sh b/pibackup.sh index fd4a772..45c70a2 100755 --- a/pibackup.sh +++ b/pibackup.sh @@ -25,7 +25,7 @@ if [ "$1" != "update" ]; then echo "$(date) - Not found, mounting drive now..." #mount.cifs ${ServerName} ${MountPoint} -o user=${UserName},password=${Password} - until [ $c > 59 ]; do + until [ $c -gt 59 ]; do if [ -f ${MountPoint}/mounted ]; then echo "$(date) - Backup Drive mounted" c=100