From 834affd9f23feafe7ea7c2c026468ecd3257a9b2 Mon Sep 17 00:00:00 2001 From: opensides Date: Tue, 23 Jun 2009 10:52:15 +0000 Subject: [PATCH] - Correcting bashism debian bug #530093 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13768 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/scripts/mailqueue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2