Revision: 43410
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 23, 2011 12:03 by vikiyou
Initial Code
# return 1 - is root
# return 0 - not is root
if_root()
{
((UID != 0)) && return 0
return 1
}
Initial URL
Initial Description
A more simpler method to check root user
Initial Title
A simpler check of root
Initial Tags
Bash
Initial Language
Bash