summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d48654)
raw | patch | inline | side by side (parent: 6d48654)
author | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Jun 2009 10:52:15 +0000 (10:52 +0000) | ||
committer | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Jun 2009 10:52:15 +0000 (10:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13768 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/scripts/mailqueue | patch | blob | history |
index be6c8726b742f80c314f9a6a3046bd7e68ef49bf..8b707a49b26fc198583b669f310cbd709debf189 100755 (executable)
#!/bin/sh
# Are we root?
-[ $UID -ne 0 ] && exit 1
+[ "$(id -ru)" -ne 0 ] && exit 1
# Assign parameters
[ $# -lt 3 ] && exit 2