just return 1

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2021-04-19 16:14:19 +03:00
parent df4e1d0370
commit fb38496fe9

2
ufw
View File

@ -346,7 +346,7 @@ main() {
if [[ -f "$cfg_file" ]]; then if [[ -f "$cfg_file" ]]; then
if ! source "$cfg_file"; then if ! source "$cfg_file"; then
printf 'Failed to source configuration file: %s\n' "$cfg_file" printf 'Failed to source configuration file: %s\n' "$cfg_file"
return $? return 1
fi fi
fi fi