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 <dinatale2@llnl.gov>
This commit is contained in:
parent
9285493adf
commit
e169749fc0
|
@ -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():
|
||||
|
|
|
@ -143,7 +143,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():
|
||||
|
|
Loading…
Reference in New Issue