https://bugzilla.novell.com/show_bug.cgi?id=343903#c2
--- Comment #2 from Casual J. Programmer 2007-12-02 09:03:08 MST ---
Refined a little to:
exit_trap()
{
# handily, exit_code is set to $? of y2base.
# If there was an error and there is anything to display, pop up.
if [ $exit_code != 0 -a -s $ERRLOG ]; then
if [ $(echo $(xmessage -buttons OK:0,Snap:1 -default OK -center -file
$ERRLOG -print)) = "Snap" ]; then
$( cat $ERRLOG > $ERRLOG.bak ) && $( gedit $ERRLOG.bak)
fi
fi
rm -f $ERRLOG
}
So now, if I press "Snap" instead of "OK", the error message gets copied to
bak and opened in gedit.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.