diff options
author | Pacien TRAN-GIRARD | 2017-06-03 13:31:49 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2017-06-03 13:31:49 +0200 |
commit | 5095cacdaa459df65f41f1c3d03a035aeead35ab (patch) | |
tree | 6e88c8f204b770856d976bce42de926ca0505c75 | |
parent | f7466f35bea6b05bb188a8c7fd33dc6e88a1ce84 (diff) | |
download | desktop-utilities-5095cacdaa459df65f41f1c3d03a035aeead35ab.tar.gz |
Exit on error/cancellation
-rwxr-xr-x | passmenu.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/passmenu.sh b/passmenu.sh index 3ac2e4e..ed13299 100755 --- a/passmenu.sh +++ b/passmenu.sh | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
2 | 2 | ||
3 | set -e | ||
4 | |||
3 | shopt -s nullglob globstar | 5 | shopt -s nullglob globstar |
4 | 6 | ||
5 | prefix=${PASSWORD_STORE_DIR-~/.password-store} | 7 | prefix=${PASSWORD_STORE_DIR-~/.password-store} |