[PATCH 1/2] wget: make default timeout configurable, remove a duplicate line

Denys Vlasenko vda.linux at googlemail.com
Sun Oct 20 12:57:44 UTC 2013


On Friday 18 October 2013 23:21, Harald Becker wrote:
> Hi Tito !
> 
> IMO you got the best solution, ...
> 
> >one more solution without the need to modify scripts is to
> >create a wrapper to wget:
> >
> >#!/bin/sh
> >busybox wget -T xxx $@
> 
> ... except, I would do an exec here:
> 
> #!/bin/sh
> exec busybox wget -T xxx $@

(bike shed painting fest, can't resist to join)

Also it's better to expand argumanet properly wrt whitespace -
use "$@", not $@:

exec busybox wget -T xxx "$@"


More information about the busybox mailing list