summaryrefslogtreecommitdiffstats
path: root/cmd/arcstat
diff options
context:
space:
mode:
authorGiuseppe Di Natale <[email protected]>2016-10-05 08:41:26 -0700
committerGiuseppe Di Natale <[email protected]>2016-10-06 10:52:21 -0700
commite169749fc0b87904cb48e8cca0c87501eb46ebac (patch)
tree637d1a1d7fad4245e38928dc7d282ee35de9e9d1 /cmd/arcstat
parent9285493adfab4c3f33ffbdb63f16c8c65bdeb8f1 (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-xcmd/arcstat/arcstat.py2
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():