From cb1350713a9d130e9619de1aa7bf84bad8731364 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 8 Oct 2022 16:40:35 -0500 Subject: [PATCH] Update pibackup.sh --- pibackup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pibackup.sh b/pibackup.sh index ac9b59c..fd4a772 100755 --- a/pibackup.sh +++ b/pibackup.sh @@ -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