Re: GNOME System Monitor will use libgnomesu



Am Dienstag, den 11.01.2005, 17:36 +0100 schrieb Hongli Lai:
> Carlos Garnacho wrote:
> > This is a really side case, right? :), For regular su you can waitpid for 
> > it and check error codes, but it's not the same for ssh, though...
> 
> [hongli izumi su-backend]$ su -c false
> Password:
> [hongli izumi su-backend]$ echo $?
> 1

But you already have enough information to be sure that something went
wrong and to handle this situation

Regards,
  Sven




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]