script exit code contd..

From: Joe Crawford (abjcrawford@yahoo.com)
Date: Mon Dec 02 2002 - 09:22:26 EST


TEAM:

We are working on a product from BMC SA in we have a
GUI which invokes our adduser (the one we developed)
script which completes the user addition. When we
encounter error conditions in our script eg: - "Login
id already exists". We would like the script to return
an exit code along with a text message to the GUI.
However, we were not able to return a text message as
exit returns only an integer value as status. We tried
the echo using case statements but it does not work.
How is it possible to achieve this? Please advice.

Thanks
Joe.
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:23 EDT