fixed handling of * in easydialog.
[matthijs/upstream/backupninja.git] / backupninja
index 7f09999fb8151d9bae54da39b50d4afb9942acff..08aeafd6299204f111f13cde6813d5fc98a4ba00 100755 (executable)
@@ -476,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