X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fgrml-postfix;h=f93e7364bf603491514b4c1f406f6a4f3558d0f2;hb=2c192a4d6bd11271d1ac35c1d26b4756b581a7ba;hp=2ce6170862bd5ecd0a93a73ceefecdc9e1b5f3a4;hpb=e720deae78f1eda5e6f62629606c194f16796762;p=grml-scripts.git diff --git a/usr_sbin/grml-postfix b/usr_sbin/grml-postfix index 2ce6170..f93e736 100755 --- a/usr_sbin/grml-postfix +++ b/usr_sbin/grml-postfix @@ -4,14 +4,13 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Thu Apr 27 18:26:46 CEST 2006 [mika] ################################################################################ PATH="/bin:/usr/bin:/sbin:/usr/sbin" LANG=C LC_ALL=C -if [ $UID != 0 ] ; then +if [ "$(id -ru)" != "0" ] ; then echo Error: become root before starting $0 >& 2 exit 100 fi