diff options
Diffstat (limited to 'sh/shrc.d/pmd.sh')
-rw-r--r-- | sh/shrc.d/pmd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/shrc.d/pmd.sh b/sh/shrc.d/pmd.sh index 03f18b7b..4b0cd5bd 100644 --- a/sh/shrc.d/pmd.sh +++ b/sh/shrc.d/pmd.sh @@ -1,8 +1,8 @@ # Print the marked directory pmd() { - if ! [ -n "$PMD" ] ; then + if [ -z "$PMD" ] ; then printf >&2 'pmd(): Mark not set\n' - return 2 + return 1 fi printf '%s\n' "$PMD" } |