[Bug 7634] New: exit status 127 if applet not found
bugzilla at busybox.net
bugzilla at busybox.net
Wed Nov 12 01:48:29 UTC 2014
https://bugs.busybox.net/show_bug.cgi?id=7634
Summary: exit status 127 if applet not found
Product: Busybox
Version: 1.22.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Standard Compliance
AssignedTo: unassigned at busybox.net
ReportedBy: mantoxpub at people.it
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
if the applet is not found, return the exit status 127 instead of 1 as the
POSIX standard suggests:
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_08_02
This is useful for scripting purposes, for instance:
echo 1+2 | busybox bc
if [ $? -ne 127 ]; then ...
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list