jjzhang / booth

The Booth Cluster Ticket Manager
GNU General Public License v2.0
16 stars 37 forks source link

The value of "echo $?" is the mistake. #41

Closed seinocluster2 closed 12 years ago

seinocluster2 commented 12 years ago

The value of "echo $?" is the mistake when the following error is output.

[root@site-b-1 ~]# booth client grant -t ticketE -s xxx.xxx.xxx.xxx
cluster[7803]: 2012/07/17_15:32:27 ERROR: connection to xxx.xxx.xxx.xxx error No route to host
[root@site-b-1 ~]# echo $?
0