Update pibackup.sh

This commit is contained in:
2022-10-08 16:40:35 -05:00
parent d4910950c6
commit cb1350713a

View File

@@ -26,7 +26,7 @@ if [ "$1" != "update" ]; then
#mount.cifs ${ServerName} ${MountPoint} -o user=${UserName},password=${Password}
until [ $c > 59 ]; do
if [ ! -f ${MountPoint}/mounted ]; then
if [ -f ${MountPoint}/mounted ]; then
echo "$(date) - Backup Drive mounted"
c=100
else