X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fgrml-tpm;h=07e2093105436b83670c9648e49d9cefab4bdea5;hb=2c192a4d6bd11271d1ac35c1d26b4756b581a7ba;hp=17000ef0e9c157b5be7aa10c815a38ee51536cd3;hpb=9fef74081f53d30174118872324fa62d4a8145b5;p=grml-scripts.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