mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 13:43:30 +03:00
commit
51998f0d56
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue