just return 1
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
df4e1d0370
commit
fb38496fe9
2
ufw
2
ufw
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user