Update Ocserv-Installer.sh
This commit is contained in:
@@ -22,6 +22,7 @@ clear
|
|||||||
function isRoot() {
|
function isRoot() {
|
||||||
if ! [ $(id -u) -eq 0 ]; then
|
if ! [ $(id -u) -eq 0 ]; then
|
||||||
echo "You need to run this script as root"
|
echo "You need to run this script as root"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user