forked from extern/shorewall_code
Correct handling of capbilities file in load/reload.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
2147a421f0
commit
d2a221a9cd
@ -1444,10 +1444,7 @@ reload_command() # $* = original arguments less the command.
|
||||
fi
|
||||
|
||||
if [ -z "$getcaps" ]; then
|
||||
g_shorewalldir=$(resolve_file $g_directory)
|
||||
ensure_config_path
|
||||
capabilities=$(find_file capabilities)
|
||||
[ -f $capabilities ] || getcaps=Yes
|
||||
[ -f $g_directory/capabilities ] || getcaps=Yes
|
||||
fi
|
||||
|
||||
if [ -f $g_directory/${g_program}.conf ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user