From d2a221a9cd13718164370346dd447fd1a5edc709 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 20 Feb 2013 14:40:23 -0800 Subject: [PATCH] Correct handling of capbilities file in load/reload. Signed-off-by: Tom Eastep --- Shorewall/lib.cli-std | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index 0f7a9765f..79f0e4c1e 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -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