/bin/sh: invalid option -- 1

Piotr Grudzinski piotr at powersmiths.com
Tue Aug 18 16:02:48 UTC 2009


Running bb v1.15.0.svn (2009-08-14) and hush.

The runsv applet (part of runit utility) calls my finish script with an argument set to "-1". busybox seems to assume that this is an option and displays:

    /bin/sh: invalid option -- 1

The same happens if I call the script with an argument containing leading '-' . Example: ./finish -abc

Is this a bug?


Best Regards,
Piotr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090818/b8fab7bf/attachment.htm>


More information about the busybox mailing list