fixed no error on failed bug
authorelijah <elijah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sat, 2 Jul 2005 20:17:47 +0000 (20:17 +0000)
committerelijah <elijah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sat, 2 Jul 2005 20:17:47 +0000 (20:17 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@131 758a04ac-41e6-0310-8a23-8373a73cc35d

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"