From: opensides Date: Tue, 23 Jun 2009 10:52:15 +0000 (+0000) Subject: - Correcting bashism debian bug #530093 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=834affd9f23feafe7ea7c2c026468ecd3257a9b2;p=gosa.git - Correcting bashism debian bug #530093 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13768 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/scripts/mailqueue b/contrib/scripts/mailqueue index be6c8726b..8b707a49b 100755 --- a/contrib/scripts/mailqueue +++ b/contrib/scripts/mailqueue @@ -1,7 +1,7 @@ #!/bin/sh # Are we root? -[ $UID -ne 0 ] && exit 1 +[ "$(id -ru)" -ne 0 ] && exit 1 # Assign parameters [ $# -lt 3 ] && exit 2