aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-27 21:33:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-27 21:33:02 +1200
commit5db5287e727a2c73278bd33b9728a3cef1a741eb (patch)
tree98619725af807c864b136ce9602dd8259ed16d70 /sh
parent05eac418f012b9d92f1955cab3d19a5cb9aef760 (diff)
downloaddotfiles-5db5287e727a2c73278bd33b9728a3cef1a741eb.tar.gz
Use -z rather than !-n
Diffstat (limited to 'sh')
-rw-r--r--sh/shrc.d/gd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/gd.sh b/sh/shrc.d/gd.sh
index fa5776f2..9f6a43e7 100644
--- a/sh/shrc.d/gd.sh
+++ b/sh/shrc.d/gd.sh
@@ -8,7 +8,7 @@ gd() {
fi
# Complain if mark not actually set yet
- if ! [ -n "$PMD" ] ; then
+ if [ -z "$PMD" ] ; then
printf >&2 'gd(): Mark not set\n'
return 1
fi