From 24130015989111c935df9527322c6998a2bf4767 Mon Sep 17 00:00:00 2001 From: ZeLibertineGamer Date: Mon, 23 May 2016 05:25:53 -0700 Subject: dupe-finder.sh: Invert if statement ...Really? --- scripts/dupe-finder.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/dupe-finder.sh b/scripts/dupe-finder.sh index 9ffae6d..dec0d68 100755 --- a/scripts/dupe-finder.sh +++ b/scripts/dupe-finder.sh @@ -4,9 +4,7 @@ # We're setting the envvar here to enforce the -w argument to uniq result=$(VGSTASH_TABLE_WIDTH=80 vgstash list | uniq -D -f 2 -w 58) -if [[ -z $result ]]; then - exit -else +if [[ -n $result ]]; then VGSTASH_TABLE_WIDTH=80 vgstash list | head -n 2 echo "$result" fi -- cgit v1.2.3-54-g00ecf