diff --git a/Shorewall/lib.config b/Shorewall/lib.config index 6e645278d..7b5edc1ae 100644 --- a/Shorewall/lib.config +++ b/Shorewall/lib.config @@ -1838,12 +1838,10 @@ do_initialize() { [ -e "$IPTABLES" ] || startup_error "\$IPTABLES=$IPTABLES does not exist or is not executable" fi - if $PROGRAM != compiler || $SHOREWALL_COMPILER = shell ; then - f=$(find_file capabilities) + f=$(find_file capabilities) - [ -f $f ] && . $f || determine_capabilities - fi - elif $PROGRAM != compiler || $SHOREWALL_COMPILER = shell ; then + [ -f $f ] && . $f || determine_capabilities + elif [ $PROGRAM != compiler -o $SHOREWALL_COMPILER = shell ] ; then f=$(find_file capabilities) [ -f $f ] && . $f || startup_error "The -e flag requires a capabilities file" fi