Update Ocserv-Installer.sh

This commit is contained in:
B-andi-T
2022-12-25 06:17:23 +03:30
committed by GitHub
parent 4aa79a40b9
commit ed290d4f73

View File

@@ -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
} }