shawnlandden wrote:
>The builtin is exiting ash in two cases:
>
>1.If no argument is given (also does not print usage of sleep, but ash---look 
>at how printf handles his)
>2.If xatou() interpretation of the number fails. This is a bit more involved 
>to fix, which is why I didn't send my patch for #1.

3. 'sleep' can be configured as both an applet and a shell builtin.
   In that case FEATURE_FANCY_SLEEP can be enabled.  This offers further
   opportunities for the builtin to call xfunc_die() and is even more
   involved to fix.

Ron
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to