diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-10 17:06:07 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-10 17:06:07 +1300 |
commit | fc3b8c17f0756e3a397928529349d11601d79aed (patch) | |
tree | df889db86e3a371484b2d719c5dba07b25ca44d1 /sh/shrc.d/pmd.sh | |
parent | Move tmux() function to tm(1df) (diff) | |
download | dotfiles-fc3b8c17f0756e3a397928529349d11601d79aed.tar.gz dotfiles-fc3b8c17f0756e3a397928529349d11601d79aed.zip |
Change some return codes for dir marking funcs
The mark not being set isn't really a usage error for the function
given.
Diffstat (limited to 'sh/shrc.d/pmd.sh')
-rw-r--r-- | sh/shrc.d/pmd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/pmd.sh b/sh/shrc.d/pmd.sh index 03f18b7b..c96a50bd 100644 --- a/sh/shrc.d/pmd.sh +++ b/sh/shrc.d/pmd.sh @@ -2,7 +2,7 @@ pmd() { if ! [ -n "$PMD" ] ; then printf >&2 'pmd(): Mark not set\n' - return 2 + return 1 fi printf '%s\n' "$PMD" } |