fixed no error on failed bug
[matthijs/upstream/backupninja.git] / backupninja
index 6b888cb006e85609f04bbc2a369184510aaec687..7f09999fb8151d9bae54da39b50d4afb9942acff 100755 (executable)
@@ -318,6 +318,7 @@ function process_action() {
        rm $bufferfile
        if [ $_fatals != 0 ]; then
                msg "*failed* -- $file"
+               errormsg="$errormsg\n== fatal errors from $file ==\n\n$ret\n"
                passthru "Fatal: <<<< finished action $file: FAILED"
        elif [ $_errors != 0 ]; then
                msg "*error* -- $file"