[Bug: Busybox 1.22.1] false return 0 instead of 1 with '--help' switch.

Harald Becker ralda at gmx.de
Mon Sep 1 12:13:59 UTC 2014


>> root at box:~ busybox false --help
>> BusyBox v1.22.1 (2014-08-28 18:55:30 EDT) multi-call binary.
>>
>> Usage: false
>>
>> Return an exit code of FALSE (1)
>>
>> root at box:~ echo $?
>> 0
>>
>> root at box:~ false --help
>> root at box:~ echo $?
>> 1

This shows me, your false is not same as Busybox internal false. You are 
probably using a different false executable, script or alias.

Try "which false" and "ls -al WHAT_YOU_GET_FROM_WHICH".




More information about the busybox mailing list