freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] ipmipower returns wrong exit status


From: Corey Osman
Subject: [Freeipmi-devel] ipmipower returns wrong exit status
Date: Sat, 28 Jul 2012 17:52:12 -0700

Its crucial that the return status actually return the correct results.  ipmipower should return 1

version = ipmipower - 1.1.6

Incorrect result
----------------------
 ipmipower --username=admin --hostname=192.168.1.22 --password=password --on
192.168.1.22: authentication type unavailable for attempted privilege level
address@hidden lib]# echo $?
0


vs
correct result
------------------
bmc-info --username=admin --hostname=192.168.1.22 --password=creative 
bmc-info: authentication type unavailable for attempted privilege level
address@hidden lib]# echo $?
1


Also, why does the ipmipower command allow me to use identify-on, identify-off, identify-status from the command line. These options are supported under the interactive command console, why are they missing from the command line?




Thanks,

Corey Osman

Green IT and Data Center Automation Specialist







reply via email to

[Prev in Thread] Current Thread [Next in Thread]