mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 13:39:06 +01:00
Call fatal_error (not startup_error) when non-root does default compile
- Also reword the message
This commit is contained in:
parent
f861f8da35
commit
9bd10c0c00
@ -368,7 +368,7 @@ get_config() {
|
||||
ensure_root() {
|
||||
if [ $(id -u) -ne 0 ]; then
|
||||
if [ -z "$g_shorewalldir" -o "$g_shorewalldir" = $CONFDIR/$PRODUCT ]; then
|
||||
startup_error "Ordinary users may not $COMMAND the $CONFDIR/$PRODUCT configuration"
|
||||
fatal_error "Ordinary users may not $COMMAND the default $PRODUCT configuration"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user