aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/fetchsetup
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fetchsetup')
-rwxr-xr-xcontrib/fetchsetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fetchsetup b/contrib/fetchsetup
index 0adf4751..e3584b03 100755
--- a/contrib/fetchsetup
+++ b/contrib/fetchsetup
@@ -12,12 +12,12 @@ cat << EOF
EOF
}
-if [ ! "$UID" = "0" ]; then
echo "[$LOGNAME] You need to be [root] to run this script."
echo "You could login: root"
echo "You could also try one of these: # sudo fetchsetup"
echo " # su -c fetchsetup"
exit 1
+if [ "$(id -ur)" != "0" ]; then
fi
MSG