This commit is contained in:
illiliti 2020-04-17 17:13:35 +03:00
parent 12108f536a
commit 5b738abb41

View File

@ -71,9 +71,9 @@ prepare_environment()
{ {
info "preparing environment" info "preparing environment"
# false positive
# shellcheck disable=1090
for _file in $_config /etc/tinyramfs/config ./config; do for _file in $_config /etc/tinyramfs/config ./config; do
# false positive
# shellcheck disable=1090
[ -f "$_file" ] && { . "$_file"; break; } [ -f "$_file" ] && { . "$_file"; break; }
done || panic "failed to source config" done || panic "failed to source config"