X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fgrml-tpm;h=07e2093105436b83670c9648e49d9cefab4bdea5;hb=2c192a4d6bd11271d1ac35c1d26b4756b581a7ba;hp=5d05f2d13b66fc25cadf291865ae378847a15fa8;hpb=e720deae78f1eda5e6f62629606c194f16796762;p=grml-scripts.git diff --git a/usr_sbin/grml-tpm b/usr_sbin/grml-tpm index 5d05f2d..07e2093 100755 --- a/usr_sbin/grml-tpm +++ b/usr_sbin/grml-tpm @@ -4,12 +4,11 @@ # Authors: (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Mit Jul 26 02:26:06 CEST 2006 [mika] ################################################################################ . /etc/grml/lsb-functions -if [ $UID != 0 ] ; then +if [ $(id -u) != 0 ] ; then eerror Error: become root before starting $0 >& 2 ; eend 1 exit 100 fi