Bug 764614 (GLUSTER-2882)

Summary: Make volume top command exit status as zero on success
Product: [Community] GlusterFS Reporter: M S Vishwanath Bhat <vbhat>
Component: unclassifiedAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, mzywusko, nsathyan, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: master, 3.2.5qa4 Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description M S Vishwanath Bhat 2011-05-05 11:12:47 UTC
Right now volume top exit status is 254 for success and 255 for failure. Ideally it should be 0 for success and non-zero for failure.

Comment 1 Anand Avati 2011-05-27 04:19:13 UTC
PATCH: http://patches.gluster.com/patch/7255 in master (TOP: exit status should be non-zero for success)

Comment 2 M S Vishwanath Bhat 2011-08-23 07:22:55 UTC
It's fixed in master. Now it's part of my top-profile sanity. 
Should be back ported to 3.2 branch also.

Comment 3 M S Vishwanath Bhat 2011-10-31 09:16:59 UTC
Fixed in 3.2 branch also.