mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 21:48:39 +01:00
Improve when to capture capabilities
Signed-off-by: Matt Darfeuille <matdarf@gmail.com> Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3be071ca3d
commit
cdeb82bdab
@ -1485,7 +1485,7 @@ remote_reload_command() # $* = original arguments less the command.
|
||||
|
||||
if [ -z "$getcaps" ]; then
|
||||
capabilities=$(find_file capabilities)
|
||||
[ -f $capabilities ] || getcaps=Yes
|
||||
[ ! -f $capabilities -o ! -s $capabilities ] && getcaps=Yes
|
||||
fi
|
||||
|
||||
if [ -n "$getcaps" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user