mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-10-28 12:47:34 +01:00
@@ -8,7 +8,7 @@
|
||||
# universal as possible.
|
||||
|
||||
|
||||
if [[ "$USER" != 'root' ]]; then
|
||||
if [[ "$EUID" -ne 0 ]]; then
|
||||
echo "Sorry, you need to run this as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user