diff --git a/pibackup.sh b/pibackup.sh index fd4dd4a..a432bee 100755 --- a/pibackup.sh +++ b/pibackup.sh @@ -28,7 +28,7 @@ if [ "$1" != "update" ]; then mount.cifs ${ServerName} ${MountPoint} -o user=${UserName},password=${Password} else mount -a - foi + fi c=0 until [ $c -gt 179 ]; do if [ -f ${MountPoint}/mounted ]; then