tags 705316 + patch thanks Am 13.04.2013 02:30, schrieb Michael Biebl:
> I'm getting a return code of "126" when dismissing the auth dialog. > We could check for that in gnome-system-log-pkexec and simply run > gnome-system-log as a fallback then? > Should be as simple as the attached patch -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Index: debian/gnome-system-log-pkexec =================================================================== --- debian/gnome-system-log-pkexec (Revision 37523) +++ debian/gnome-system-log-pkexec (Arbeitskopie) @@ -4,4 +4,9 @@ exec /usr/bin/gnome-system-log "$@" else pkexec /usr/bin/gnome-system-log "$@" + # If the user dismissed the auth dialog or entered the wrong password + # run as unprivileged user + if [ $? -eq 126 ] ; then + /usr/bin/gnome-system-log "$@" + fi fi
signature.asc
Description: OpenPGP digital signature