X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=backupninja;h=08aeafd6299204f111f13cde6813d5fc98a4ba00;hb=e8cf41e99e1650ba8c8f187ae5e3ca3c0fa56ee1;hp=6b888cb006e85609f04bbc2a369184510aaec687;hpb=030f94dfdccfa6824e1f4e9c7bfdf713cb814d02;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/backupninja b/backupninja index 6b888cb..08aeafd 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" @@ -475,7 +476,7 @@ for file in $files; do check_perms $file suffix="${file##*.}" base=`basename $file` - if [ "${base:0:1}" == "0" ]; then + if [ "${base:0:1}" == "0" -o "$suffix" == "disabled" ]; then info "Skipping $file" continue fi