Drop grml-postfix
[grml-scripts.git] / usr_sbin / grml-tpm
index 17000ef..07e2093 100755 (executable)
@@ -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