https://bugzilla.novell.com/show_bug.cgi?id=441053
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441053#c8
Jiří Suchomel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsuchome@novell.com
AssignedTo|jsuchome@novell.com |ro@novell.com
Status|NEEDINFO |NEW
Info Provider|mvidner@novell.com |
--- Comment #8 from Jiří Suchomel 2008-11-07 05:40:32 MST ---
It's defined in /etc/bash.bashrc
Regardless the fact that return value of yast may be incorrect in this case,
the condition should not check it at all, it does not make sense.
Rudi, could you please rewrite the 'you' alias?
I'm not sure if it is possible to use if-else branching inside alias definition
(which would make it clear), other variant offered by jsrain is:
alias you='test "$EUID" = 0 && (/sbin/yast2 online_update; exit 0) || su - -c
"/sbin/yast2 online_update"'
--
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.