X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=backupninja;h=ac504d605af123ae0f471f9f3e2ce457e511d90d;hb=fb77e731737f3ca96f1295f9ee1f9f58278da84e;hp=ce85ba46d10ca25d3a95e2aca50ab467f8512d95;hpb=c8ad6fc41533def8ecca1fcf5c9a6bff3e382fa0;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/backupninja b/backupninja index ce85ba4..ac504d6 100755 --- a/backupninja +++ b/backupninja @@ -143,7 +143,6 @@ function getconf() { # replace * with %, so that it is not globbed. ret="${ret//\\*/__star__}" - ret="${ret//\*/__star__}" # this is weird, but single quotes are needed to # allow for returned values with spaces. $ret is still expanded @@ -318,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" @@ -428,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