summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-10-12 12:39:36 +0200
committerErich Eckner <git@eckner.net>2016-10-12 12:39:36 +0200
commitb56798c218c0dc3d8c122f8af939469d87e14bae (patch)
treebf551120ea9efc96a3c8a741ef164d877d2b30cb
parent2db610114fbfa3e7905fb1cc445a85375c4cee9c (diff)
downloadpasswort-tresor-b56798c218c0dc3d8c122f8af939469d87e14bae.tar.xz
Konfig nur lesen, wenn sie existiert
-rw-r--r--passwort-tresor.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/passwort-tresor.in b/passwort-tresor.in
index 8a7e998..926982e 100644
--- a/passwort-tresor.in
+++ b/passwort-tresor.in
@@ -57,7 +57,8 @@ greppw=false
neu=false
blind=0
-. #ETCDIR#/passwort-tresor.konf
+[ -r "#ETCDIR#/passwort-tresor.konf" ] && \
+ . "#ETCDIR#/passwort-tresor.konf"
while true
do