Actions
Bug #19262
closedhammer ping returns exit code 0 when service is failing
Difficulty:
Triaged:
Description
[root@john ~]# hammer ping
candlepin:
Status: ok
Server Response: Duration: 56ms
candlepin_auth:
Status: ok
Server Response: Duration: 60ms
pulp:
Status: FAIL
Server Response:
foreman_tasks:
Status: ok
Server Response: Duration: 522ms
[root@john ~]# echo $?
0
Expected Results:
the exit code is something other than zero
Actions