mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-23 11:11:32 +02:00
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
|
shift
|
||||||
|
|
||||||
if [ -z "$EXPORT" -a $(id -u) -ne 0 ]; then
|
if [ -z "$EXPORT" -a $(id -u) -ne 0 -a -z "$SHOREWALL_DIR" ]; then
|
||||||
startup_error "Ordinary users may only comple for export (-e option)"
|
startup_error "Ordinary users may only comple for export (-e option) or from a specified directory"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# We've now set SHOREWALL_DIR so recalculate CONFIG_PATH
|
# We've now set SHOREWALL_DIR so recalculate CONFIG_PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user