X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=sbin%2Fgrml-pptp-inode;h=94460676495babdaed2a6e971bf1dc1b06ff4705;hb=72d88edace6037b15c9a86e747f417f440bf3663;hp=2e6e5fa08ffec57ae362bb88bd6441bcce655cec;hpb=dd66c5a95798e36c47c50711591b1c3c50fb4aa4;p=grml-network.git diff --git a/sbin/grml-pptp-inode b/sbin/grml-pptp-inode index 2e6e5fa..9446067 100755 --- a/sbin/grml-pptp-inode +++ b/sbin/grml-pptp-inode @@ -4,7 +4,7 @@ # 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] +# Latest change: Tue Jul 22 01:13:08 CEST 2008 [mika] ################################################################################ ################################################################################ @@ -15,10 +15,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