diff --git a/bin/v-update-host-certificate b/bin/v-update-host-certificate index 71a87709..9da49aca 100755 --- a/bin/v-update-host-certificate +++ b/bin/v-update-host-certificate @@ -11,12 +11,11 @@ #----------------------------------------------------------# whoami=$(whoami) -if [ "$whoami" != "root" ] && [ "$whoami" != "admin" ] ; then - echo "You must be root or admin to execute this script"; - exit 1; +if [ "$whoami" != "root" ]; then + echo "You must be root to execute this script" + exit 1 fi - # Argument definition user=$1 hostname=$2