diff --git a/Ocserv-Installer.sh b/Ocserv-Installer.sh index df9cefe..62c3be7 100644 --- a/Ocserv-Installer.sh +++ b/Ocserv-Installer.sh @@ -22,6 +22,7 @@ clear function isRoot() { if ! [ $(id -u) -eq 0 ]; then echo "You need to run this script as root" + exit 1 fi }