On Fri, Jun 09, 2006 at 09:32:07AM +1000, Erik de Castro Lopo wrote: > Mary Gardiner wrote: > > EXIT STATUS > > 0 (true) System is on mains power > > 1 (false) System is not on mains power > > 255 (false) Power status could not be determined > > <boggle> > In what universe is 0 true and 1 false????? > </boogle>
That would be the Shell universe. Like most things in shell, it's bass ackwards. You get used to it after a while. - Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html