X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=backupninja;h=ac504d605af123ae0f471f9f3e2ce457e511d90d;hb=bac2dcf24d9060b911e0651f4b438abf88689f9f;hp=3cd3cae1a1e487d6de202ebd08bc15088c0cb05c;hpb=7692bd9ef6acd4add68cc2ebe08eef604d9bd5c2;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/backupninja b/backupninja index 3cd3cae..ac504d6 100755 --- a/backupninja +++ b/backupninja @@ -317,10 +317,12 @@ function process_action() { elif [ $_warnings != 0 ]; then msg "*warning* -- $file" errormsg="$errormsg\n== warnings from $file ==\n\n$ret\n" - elif [ $retcode == 0 ]; then - msg "success -- $file" else - msg "unknown -- $file" + msg "success -- $file" +# elif [ $retcode == 0 ]; then +# msg "success -- $file" +# else +# msg "unknown -- $file" fi let "fatals += _fatals" @@ -427,7 +429,7 @@ errormsg="" if [ "$singlerun" ]; then files=$singlerun else - files=`find $configdirectory -mindepth 1 ` + files=`find $configdirectory -mindepth 1 | sort -n` fi for file in $files; do