Re: who(1) exit status

2008-06-24 Thread Shal-Linux-Ind
I am surprised that utmpname(3) man page says return value is void... but in source i have verified that its returning integer. I have verified in glibc 2.7. Thanks, Halesh On 6/24/08, Shal-Linux-Ind <[EMAIL PROTECTED]> wrote: > > > > On 6/23/08, Andreas Schwab <[EM

Re: who(1) exit status

2008-06-23 Thread Shal-Linux-Ind
On 6/23/08, Andreas Schwab <[EMAIL PROTECTED]> wrote: > > Eric Blake <[EMAIL PROTECTED]> writes: > > > According to Shal-Linux-Ind on 6/23/2008 4:05 AM: > > | Hi, > > | > > | who(1) exit status is always 0. > > | > > | $ who --v > > |

who(1) exit status

2008-06-23 Thread Shal-Linux-Ind
Hi, who(1) exit status is always 0. $ who --v who (coreutils) 5.2.1 ... ... $ who $echo $? 0 I think all commands should fail with exit status 1, which is usefull in processing with other commands. Thanks Shal ___ Bug-coreutils mailing list Bug-co