forked from extern/shorewall_code
Straighten out -e and appropriate priv -- take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6369 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d934b9e654
commit
c827820dff
@ -261,8 +261,8 @@ compiler() {
|
||||
|
||||
shift
|
||||
|
||||
if [ -z "$EXPORT" -a $(id -u) -ne 0 ]; then
|
||||
startup_error "Ordinary users may only comple for export (-e option)"
|
||||
if [ -z "$EXPORT" -a $(id -u) -ne 0 -a -z "$SHOREWALL_DIR" ]; then
|
||||
startup_error "Ordinary users may only comple for export (-e option) or from a specified directory"
|
||||
fi
|
||||
#
|
||||
# We've now set SHOREWALL_DIR so recalculate CONFIG_PATH
|
||||
|
Loading…
Reference in New Issue
Block a user