From 860dc86da4a029709113c489ba0c2e6b1778bf8c Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 10 Oct 2023 18:25:05 +0200 Subject: [PATCH] eturnalctl: Don't stumble over unreadable config --- overlay/eturnalctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/eturnalctl b/overlay/eturnalctl index b26d4e0db..fd63487bd 100755 --- a/overlay/eturnalctl +++ b/overlay/eturnalctl @@ -85,7 +85,7 @@ get_option() _key="$1" _val=$(sed -n \ "s/^[[:blank:]]\\{1,\\}$_key:[[:blank:]]*\"\\?\\([[:alnum:][:blank:]\\/._+-]*[[:alnum:]\\/._+-]\\)\"\\?.*/\\1/p" \ - "$eturnal_yml") + "$eturnal_yml" 2>'/dev/null' || :) printf '%s' "$_val" }