diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/fetchsetup | 2 |
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 |