X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fbackupninja.in;h=e4f5ea73dc53afd6084b5c6563240e0a14d6c0a1;hb=32e13d4c6573fecca4964b1a9f77254823d2e589;hp=16ac7a7dc5e5417ffeae1f64b23b427ea4a562f8;hpb=f07f4b873b5d4b0dbe18df8cd6078826b2a0afd1;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/src/backupninja.in b/src/backupninja.in index 16ac7a7..e4f5ea7 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -476,7 +476,7 @@ errormsg="" if [ "$singlerun" ]; then files=$singlerun else - files=`find -L $configdirectory -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n` + files=`find $configdirectory -follow -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n` if [ -z "$files" ]; then fatal "No backup actions configured in '$configdirectory', run ninjahelper!" @@ -526,7 +526,7 @@ if [ $doit == 1 ]; then echo ${messages[$i]} done echo -e "$errormsg" - } | mail $reportemail -s "backupninja: $hostname $subject" + } | mail -s "backupninja: $hostname $subject" $reportemail fi if [ $actions_run != 0 ]; then