fixed handling of * in easydialog.
[matthijs/upstream/backupninja.git] / backupninja
index 6b888cb006e85609f04bbc2a369184510aaec687..08aeafd6299204f111f13cde6813d5fc98a4ba00 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"
@@ -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