diff --git a/bin/vhost.sh b/bin/vhost.sh index 1089684..5ee488a 100755 --- a/bin/vhost.sh +++ b/bin/vhost.sh @@ -4,8 +4,7 @@ # any script that includes this conf file will force user to be root if [ "$USER" != "root" ]; then - #exec sudo -u root $0 $@ - exec sudo $0 $@ + exec sudo -u root $0 $@ fi # constants