From 9bd10c0c0056ecf724c0a6a292011b973ac097a3 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 29 Dec 2017 12:49:43 -0800 Subject: [PATCH] Call fatal_error (not startup_error) when non-root does default compile - Also reword the message --- Shorewall/lib.cli-std | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index 51cae7d2a..6f220aa3d 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -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 }