X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=sbin%2Fgrml-pptp-inode;h=3c61d337fb7798e175bfe297128b6f034d715bd9;hb=5ccffd6ee849bb7c004e464f3972bcce22beac7c;hp=91c3dcb4d0d5194c4718c266a4f62d841dc7149d;hpb=a83e3825511532c96dd400447f2e0cc5e89600dd;p=grml-network.git diff --git a/sbin/grml-pptp-inode b/sbin/grml-pptp-inode index 91c3dcb..3c61d33 100755 --- a/sbin/grml-pptp-inode +++ b/sbin/grml-pptp-inode @@ -4,7 +4,6 @@ # Authors: grml-team (grml.org), (c) Andreas Gredler # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Aug 11 11:41:22 CEST 2006 [mika] ################################################################################ ################################################################################ @@ -13,12 +12,11 @@ # by Wolfgang Scheicher. ################################################################################ -LANG=C +export LANG=C -if [ "$UID" != 0 ]; then -# sudo $0 -# exit -echo foo +if [ $UID != 0 ] ; then + echo Error: become root before starting $0 >& 2 + exit 100 fi if [ -z "$FORCE_OLD" ] ; then