A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Klatt Uwe wrote:
> Hello,
>
> I use something like this:
>
> ret = system("tar ....");
> if(ret)
> eprintf("tar failed with error %d\n",ret);
Let me quote the man page of system(3) for you:
RETURN VALUE
The value returned is -1 on error (e.g. fork(2) failed),
and the return status of the command otherwise. This lat-
ter return status is in the format specified in wait(2).
Thus, the exit code of the command will be WEXITSTATUS(sta-
tus). In case /bin/sh could not be executed, the exit sta-
tus will be that of a command that does exit(127).
So your code is wrong, it's probably not busybox/tar's fault.
Have fun,
Stefan
--
Stefan Seyfried
R&D Team Mobile Devices | "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out."
This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox