diff options
author | ZeLibertineGamer <zlg@zlg.space> | 2016-05-23 05:25:53 -0700 |
---|---|---|
committer | Ze Libertine Gamer <zlg@zlg.space> | 2016-05-23 05:25:53 -0700 |
commit | 24130015989111c935df9527322c6998a2bf4767 (patch) | |
tree | 356f66602427530145eca6671d0eedf555e8b5d3 /scripts | |
parent | Show help when invoked without arguments (diff) | |
download | vgstash-24130015989111c935df9527322c6998a2bf4767.tar.gz vgstash-24130015989111c935df9527322c6998a2bf4767.tar.bz2 vgstash-24130015989111c935df9527322c6998a2bf4767.tar.xz vgstash-24130015989111c935df9527322c6998a2bf4767.zip |
dupe-finder.sh: Invert if statement
...Really?
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dupe-finder.sh | 4 |
1 files changed, 1 insertions, 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 |