Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage4.functions.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1540 by niro, Tue Aug 30 10:39:28 2011 UTC revision 1541 by niro, Tue Dec 20 12:58:32 2011 UTC
# Line 3128  busybox_filter_wget_options() Line 3128  busybox_filter_wget_options()
3128   echo "${opts}"   echo "${opts}"
3129   fi   fi
3130  }  }
3131    
3132    have_root_privileges()
3133    {
3134     local retval
3135    
3136     if [[ $(id -u) = 0 ]]
3137     then
3138     retval=0
3139     else
3140     retval=1
3141     fi
3142    
3143     return ${retval}
3144    }

Legend:
Removed from v.1540  
changed lines
  Added in v.1541