aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-14 20:40:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-14 20:40:23 +1200
commite0f7340b66ba386e34df6e063d42622f897d2271 (patch)
tree8c7fd0bc7d5afa7e4f1ff2f217a07466d8809df9 /bin
parentAdd optional terminator to dmp(1) (diff)
downloaddotfiles-e0f7340b66ba386e34df6e063d42622f897d2271.tar.gz
dotfiles-e0f7340b66ba386e34df6e063d42622f897d2271.zip
Bail if dmp(1) subshell exits
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dmp b/bin/dmp
index 95829296..9ef58f67 100755
--- a/bin/dmp
+++ b/bin/dmp
@@ -19,7 +19,7 @@ s_\.gpg$__
' |
# Use dmenu(1) to prompt the user to select one
dmenu
-)
+) || exit
# Bail if we don't have a password
[ -n "$pw" ] || exit