tagged 0.4.4
[matthijs/upstream/backupninja.git] / backupninja
index fb625245b293cd0ab606237c2608ab2d01ac4184..b7d4a149e2e73683745e92f224faf899abd1c71f 100755 (executable)
@@ -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"
@@ -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"