diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2009-05-24 11:25:46 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2009-05-24 11:25:46 +0000 |
commit | 138ce54c5e8498dcdcf385bf2d662892ff258982 (patch) | |
tree | 411f5740124237312ebf4fe2f79e2efb35c7f121 /contrib/fetchsetup | |
parent | 1a2f4254b58bdacf40b876ccdef4096741e18632 (diff) | |
download | fetchmail-138ce54c5e8498dcdcf385bf2d662892ff258982.tar.gz fetchmail-138ce54c5e8498dcdcf385bf2d662892ff258982.tar.bz2 fetchmail-138ce54c5e8498dcdcf385bf2d662892ff258982.zip |
Fix bashism ($UID). Debian Bug#530081.
svn path=/branches/BRANCH_6-3/; revision=5308
Diffstat (limited to 'contrib/fetchsetup')
-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 |