# Authors: (c) Michael Prokop <mika@grml.org>
# 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