In case of not running in a terminal: do not print warning if no configuration file was found.

This commit is contained in:
Christoph 2018-03-05 01:33:43 +01:00
parent a0bf2ae89b
commit 3016fb6f27

View File

@ -151,7 +151,9 @@ if [[ -f "$conf_file" ]]; then
fi
else
echo_skipped
warn "No Configuration File found. Loading defaults.."
if $terminal ;then
warn "No Configuration File found. Loading defaults.."
fi
fi