mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
common.sh: print message when script cannot run
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -32,6 +32,7 @@ fi
|
||||
|
||||
if test -z "$NO_NEED_ROOT";then
|
||||
if test "$(id -u)" != "0";then
|
||||
echo "You need to run this script as root"
|
||||
exit 77
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user