X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=sbin%2Fgrml-pptp-inode;h=3c61d337fb7798e175bfe297128b6f034d715bd9;hb=f5c2c78c1c02f6c9fc2a4c56c67a932ddea78e79;hp=2e6e5fa08ffec57ae362bb88bd6441bcce655cec;hpb=af7a30a5e458a4a8d46bd03aed355051b8147972;p=grml-network.git diff --git a/sbin/grml-pptp-inode b/sbin/grml-pptp-inode index 2e6e5fa..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: Sam Jän 26 00:12:46 CET 2008 [mika] ################################################################################ ################################################################################ @@ -15,10 +14,9 @@ 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