From b56798c218c0dc3d8c122f8af939469d87e14bae Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 12 Oct 2016 12:39:36 +0200 Subject: Konfig nur lesen, wenn sie existiert --- passwort-tresor.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3