Is there a way to get vmcp to return the CP return code rather than 1?

hcp behaves as I'd expect:
# hcp q linux04
HCPCQU045E LINUX04 not logged on
# echo $?
45

But vmcp seems to return only 0 or 1:

# vmcp q linux04
HCPCQU045E LINUX04 not logged on
Error: non-zero CP response for command 'Q LINUX04': #45
# echo $?
1

So do I have to parse the stdout (which gets ugly) to get the rc?  Thanks.

"Mike MacIsaac" <[EMAIL PROTECTED]>   (845) 433-7061

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to