diff --git a/ufw b/ufw index ead0921..f3dc024 100755 --- a/ufw +++ b/ufw @@ -346,7 +346,7 @@ main() { if [[ -f "$cfg_file" ]]; then if ! source "$cfg_file"; then printf 'Failed to source configuration file: %s\n' "$cfg_file" - return $? + return 1 fi fi