]> git.sesse.net Git - backup.sh/commitdiff
bare småtterier
authorroot <empty>
Fri, 10 Nov 2000 16:16:35 +0000 (16:16 +0000)
committerroot <empty>
Fri, 10 Nov 2000 16:16:35 +0000 (16:16 +0000)
backup.sh

index 36738bb09fbd752c9e336a4b51f40521ab964197..15546283ad878122be657428d62cf08adc61fb54 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -82,12 +82,12 @@ backup()
 
   #fix perm
   chmod 600 *tgz
-  chmod 644 *sdx *idx
+  chmod 644 *sdx *idx 2>/dev/null
 
  else
   #it did not work
   rm $DATE.tmp 2>/dev/null
-  echo "$backuplevel backup of $computer:$filesystem failed"
+  echo "$backuplevel backup of $computer:$filesystem failed and deleted"
  fi
 
 }