From 040ea36adf3804e541e9973d88c2168da11e8eae Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 5 Oct 2014 00:30:11 +0200 Subject: [PATCH] Englishify a bit. --- backup.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/backup.sh b/backup.sh index 221e371..307a14f 100755 --- a/backup.sh +++ b/backup.sh @@ -68,9 +68,6 @@ echo `date`": Backup run starting" >&2 umask 027 -#selve backupen -# krever at noen variabler er satt -# krever at vi er i rett katalog backup() { @@ -133,7 +130,7 @@ backup() # Update timestamp echo $DATEs > ../.date && touch -t $DATE ../.date - # Make a sorted filelist as well + # Make a sorted file list as well sort -k6 < $DATE.idx > $DATE.sdx # Fix permissions @@ -214,7 +211,7 @@ backup() fi fi - # Try to run preexec if it exist + # Try to run preexec if it exists if ! ssh root@$computer "[ ! -f ~/.backup/preexec ] || /bin/bash -x ~/.backup/preexec" >&2; then echo `date`" $computer: Could not run $computer:~/.backup/preexec" die -- 2.39.2