From: Elijah Saxon Date: Sat, 2 Jul 2005 20:17:47 +0000 (+0000) Subject: fixed no error on failed bug X-Git-Tag: backupninja-0.7~20 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=commitdiff_plain;h=2046272df5e3efeb8c6174b77c807ed40a2e3bd1 fixed no error on failed bug --- diff --git a/backupninja b/backupninja index 6b888cb..7f09999 100755 --- a/backupninja +++ b/backupninja @@ -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"