Closed woju closed 2 years ago
When not signing the configuration (no -k option), there's no $TMP_CONFIG file and test -f "$TMP_CONFIG" is false. The whole line becomes false and the script exists 1 for set -e.
test -f "$TMP_CONFIG"
set -e
This commit fixes that by moving the test to if condition.
if
Looks good
Thanks!
When not signing the configuration (no -k option), there's no $TMP_CONFIG file and
test -f "$TMP_CONFIG"
is false. The whole line becomes false and the script exists 1 forset -e
.This commit fixes that by moving the test to
if
condition.