summaryrefslogtreecommitdiffstats
path: root/bin/quickpkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/quickpkg')
-rwxr-xr-xbin/quickpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index abb3d2941..61b09a609 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -9,7 +9,7 @@
# Resulting tbz2 file will be created in ${PKGDIR} ...
# default is /usr/portage/packages/All/
-if [ "`whoami`" != "root" ] ; then
+if [ "${UID}" != "0" ] ; then
echo "You must run this as root"
exit 1
fi