diff options
author | shishir gowda <shishirng@gluster.com> | 2011-05-26 05:45:07 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-27 00:19:15 -0700 |
commit | 4c1c8feee4afd6cabeabc17c85bbc7634adb683f (patch) | |
tree | e6c7ebbba578dda3ec0ec8186565ac1f544ab586 /rpc/rpc-transport/socket/src/socket.h | |
parent | 7dc5a648caee92ce6d62bbe7b4dc1406662c3858 (diff) |
TOP: exit status should be non-zero for success
The fault was incorrect loop. An extra iteration was being performed,
and dict_get failed due to non-existant data leading to status being
set to non-zero
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2882 (Make volume top command exit status as zero on success)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2882
Diffstat (limited to 'rpc/rpc-transport/socket/src/socket.h')
0 files changed, 0 insertions, 0 deletions