summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@fastmail.in>2021-09-20 02:20:17 +0530
committerAyush Agarwal <ayush@fastmail.in>2021-09-20 02:20:17 +0530
commit11fd05a0ed22673a8bec973408d9100a4a2ba6e9 (patch)
tree01f2ba2e3c09e9b2183e36cfb7c859490856f26a
parent46cedab4ea6ba252a3181147ce7bd7a702f7633e (diff)
disable debug mode to prevent leaking datav0.6.2
-rwxr-xr-xtessen3
1 files changed, 3 insertions, 0 deletions
diff --git a/tessen b/tessen
index 90b84e6..300b986 100755
--- a/tessen
+++ b/tessen
@@ -11,6 +11,9 @@ readonly PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
export PATH
umask 077
+# don't leak password data if debug mode is enabled
+set +x
+
# initialize the global variables
readonly VERSION="2.0.0"
readonly PREFIX="${PASSWORD_STORE_DIR:-$HOME/.password-store}"