aboutsummaryrefslogtreecommitdiff
path: root/damb
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-08-10 05:38:46 +0530
committersinanmohd <sinan@firemail.cc>2023-08-10 05:39:16 +0530
commit3f0098ce03c1878861889229dab765df0140cf3c (patch)
treef5baf0fe94bc5de07ebc1af52ddebd7743445ecf /damb
parent5445c7d9d9531b09c9851fecdb146e770f0011a1 (diff)
damb: clean up, merge cases in a switch statement
Diffstat (limited to 'damb')
-rwxr-xr-xdamb3
1 files changed, 1 insertions, 2 deletions
diff --git a/damb b/damb
index e8f9d48..b97d0bb 100755
--- a/damb
+++ b/damb
@@ -154,8 +154,7 @@ verify_val()
# verify_val <value>
case "$1" in
- *"\n"*) return 1 ;;
- *$damb_dlim*) return 1 ;;
+ *"\n"*|*$damb_dlim*) return 1 ;;
esac
case "$(file --brief --dereference --mime-type "$1")" in