X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=usr_sbin%2Fgrml-tpm;h=07e2093105436b83670c9648e49d9cefab4bdea5;hb=1f0b02fbbe5adaea1054672d7cf9d6a37ff9178e;hp=17000ef0e9c157b5be7aa10c815a38ee51536cd3;hpb=2b92b06f9040e743d2165cb32932c5d6b8c76291;p=grml-scripts-core.git diff --git a/usr_sbin/grml-tpm b/usr_sbin/grml-tpm index 17000ef..07e2093 100755 --- a/usr_sbin/grml-tpm +++ b/usr_sbin/grml-tpm @@ -8,7 +8,7 @@ . /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