On Friday 09 October 2009 07:17, Vladimir Dronnikov wrote:
> >
> > I added bb_perror_msg("can't execute '%s'", argv[0])
> > in spawn() in git...
>
> Hmm. spawn() was meant to be silent.
Set logmode = 0 and it will be.
> It is mount.c that should bark
> unless quiet option is given, IMHO.
It is hard to reliably detect exec failure after fork.
Parent can only see they child exited with some exitcode or signal,
how it can know that child exited because exec in the child failed?
> And may be to print this error
> only if fstype is explicitly given?
I think it's not bad to give more diagnostic.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox