minifirewall must be run as root
This commit is contained in:
parent
69d89d5b92
commit
7e46c3cafc
|
@ -37,6 +37,11 @@ DESC="Firewall designed for standalone server"
|
||||||
|
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
|
if [ "$(id -u)" -ne "0" ] ; then
|
||||||
|
echo "${PROGNAME} must be run as root." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Variables configuration
|
# Variables configuration
|
||||||
#########################
|
#########################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue