diff --git a/www/mod_perl/files/mod_perl-enable b/www/mod_perl/files/mod_perl-enable index 2e5dab6e11e..5c68bfbab71 100644 --- a/www/mod_perl/files/mod_perl-enable +++ b/www/mod_perl/files/mod_perl-enable @@ -1,9 +1,14 @@ #!/bin/sh # -# $OpenBSD: mod_perl-enable,v 1.2 2001/02/09 19:19:40 brad Exp $ +# $OpenBSD: mod_perl-enable,v 1.3 2001/02/12 17:18:55 brad Exp $ MODULE=!!PREFIX!!/lib/mod_perl.so +if [ `id -u` -ne 0 ]; then + echo "You must be root to run this script." + exit +fi + if [ ! -f ${MODULE} ]; then echo "Can not find mod_perl module (${MODULE})" exit 1