On some distros, the output is like UID=0 http://sourceforge.net/p/webadmin/bugs/4445/

This commit is contained in:
Jamie Cameron
2014-07-04 14:54:24 -07:00
parent a9ed2549b4
commit abf3eb0bc9

View File

@@ -36,7 +36,7 @@ echo "systems and common Unix services to be easily administered."
echo ""
# Only root can run this
id | grep "uid=0(" >/dev/null
id | grep -i "uid=0(" >/dev/null
if [ $? != "0" ]; then
uname -a | grep -i CYGWIN >/dev/null
if [ $? != "0" ]; then