Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.1.67, 5.2.14, 5.3.12, 5.5(EOL), 10.0(EOL), 10.1(EOL)
-
Linux
-
5.5.50
Description
Description:
There are weird exit codes of some utilities:
`mysql_waitpid --help` returns 255 instead of 0
`mysqladmin --help` returns 1 instead of 0
both of them accept
'--help'
|
(or '-?') as valid option according to the documentation
How to repeat:
$> mysql_waitpid --help &>/dev/null
|
$> echo $?
|
|
$> mysqladmin --help &>/dev/null
|
$> echo $?
|
Current resutls:
255
|
1
|
Expected results:
0
|
0
|