From 3f0098ce03c1878861889229dab765df0140cf3c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 10 Aug 2023 05:38:46 +0530 Subject: damb: clean up, merge cases in a switch statement --- damb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'damb') diff --git a/damb b/damb index e8f9d48..b97d0bb 100755 --- a/damb +++ b/damb @@ -154,8 +154,7 @@ verify_val() # verify_val case "$1" in - *"\n"*) return 1 ;; - *$damb_dlim*) return 1 ;; + *"\n"*|*$damb_dlim*) return 1 ;; esac case "$(file --brief --dereference --mime-type "$1")" in -- cgit v1.2.3