X-Git-Url: https://git.sesse.net/?p=backup.sh;a=blobdiff_plain;f=backup.sh;h=f054e1aae68fa9d93e875e3db4cb04a9077a9914;hp=48307bc92ad3b81c994b3aa3b6d3920019b216be;hb=966d195df94a5d99952b18e32eb4fc23f52b3a70;hpb=ab7fa27b2dc27178d32fb871174af3736252e4b2 diff --git a/backup.sh b/backup.sh index 48307bc..f054e1a 100755 --- a/backup.sh +++ b/backup.sh @@ -215,7 +215,7 @@ for filesystem in $filesystems; do # Default backuplevel backuplevel=daglig - if [ ! -f $storagedir/$computer/$sfilesystem/.date ] + if [ ! -s $storagedir/$computer/$sfilesystem/.date ] then # Take the first full backup of this filesystem on this computer backuplevel=full