Re: GNOME System Monitor will use libgnomesu



Sven Herzberg wrote:
[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

Yeah, something went wrong. You just don't know whether the login failed or whether the child failed. And if you're running a GUI app, you can only find out whether "something" went wrong after the user has closed the child app.



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