diff options
author | Giuseppe Di Natale <[email protected]> | 2016-10-05 08:41:26 -0700 |
---|---|---|
committer | Giuseppe Di Natale <[email protected]> | 2016-10-06 10:52:21 -0700 |
commit | e169749fc0b87904cb48e8cca0c87501eb46ebac (patch) | |
tree | 637d1a1d7fad4245e38928dc7d282ee35de9e9d1 /cmd/arcstat | |
parent | 9285493adfab4c3f33ffbdb63f16c8c65bdeb8f1 (diff) |
Correct exit code for dbufstat -v and arcstat -v
Both scripts were returning an error code of 1
when using the -v argument. -v should exit with
an error code of 0.
Signed-off-by: Giuseppe Di Natale <[email protected]>
Diffstat (limited to 'cmd/arcstat')
-rwxr-xr-x | cmd/arcstat/arcstat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/arcstat/arcstat.py b/cmd/arcstat/arcstat.py index 416120795..b743fd8bc 100755 --- a/cmd/arcstat/arcstat.py +++ b/cmd/arcstat/arcstat.py @@ -122,7 +122,7 @@ def detailed_usage(): sys.stderr.write("%11s : %s\n" % (key, cols[key][2])) sys.stderr.write("\n") - sys.exit(1) + sys.exit(0) def usage(): |