* Joshua Judson Rosen <[email protected]> [15.03.2013 22:00]:
> I just noticed that trying to source a nonexistent file from a script running
> (non-interactively) through ash causes the shell to exit.

i also stumpled over the same? problem.

. nonexistent_file

is not possible, the script just stops.
there is no trap, which can handle this.
only workaround is to check existence.

also: i could'nt find any documentation how
it _should_ be handled. the common way of

. nonexistent_file 2>/dev/null || action

is not possible.

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

Reply via email to