X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=backupninja;h=3cd3cae1a1e487d6de202ebd08bc15088c0cb05c;hb=c313e23935425146ed4373809b1338e5d3faf4f4;hp=fb625245b293cd0ab606237c2608ab2d01ac4184;hpb=2ae95a499aaf03ccb8d6c5ccb30167f21cac1fc1;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/backupninja b/backupninja index fb62524..3cd3cae 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 @@ -308,7 +307,7 @@ function process_action() { _fatals=`cat $bufferfile | grep "^Fatal: " | wc -l` ret=`grep "\(^Warning: \|^Error: \|^Fatal: \)" $bufferfile` - #rm $bufferfile + rm $bufferfile if [ $_fatals != 0 ]; then msg "*failed* -- $file" errormsg="$errormsg\n== failures from $file ==\n\n$ret\n"