diff options
author | Erich Eckner <git@eckner.net> | 2016-10-12 12:39:36 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-10-12 12:39:36 +0200 |
commit | b56798c218c0dc3d8c122f8af939469d87e14bae (patch) | |
tree | bf551120ea9efc96a3c8a741ef164d877d2b30cb | |
parent | 2db610114fbfa3e7905fb1cc445a85375c4cee9c (diff) | |
download | passwort-tresor-b56798c218c0dc3d8c122f8af939469d87e14bae.tar.xz |
Konfig nur lesen, wenn sie existiert
-rw-r--r-- | passwort-tresor.in | 3 |
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 |