David,

I try to start the webserver service  using a startserv script. The 
startserv script contains (svcadm enable 
svc:/application/websever:admin-server).  If service goes online, echo 
$? returns 0. Now even if the service goes into maintenance mode echo $? 
returns 0, but in the service log file it says the service exited with 
1. How to get the exit value in the start serv script as i need to 
display error message depending on the exit values.

Thanks
Srinivas

Reply via email to