Bug 764614 (GLUSTER-2882) - Make volume top command exit status as zero on success
Summary: Make volume top command exit status as zero on success
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2882
Product: GlusterFS
Classification: Community
Component: unclassified
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-05 11:12 UTC by M S Vishwanath Bhat
Modified: 2016-06-01 01:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: master, 3.2.5qa4


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.