AW: tar returns error 256?

Klatt Uwe U.Klatt at miwe.de
Wed Jun 10 05:04:44 UTC 2009


Hello,

I use system("tar ...") inside of my program to compress data and the returncode of system() ist 256.
tar does something (destination file is created, but with length "0").

Bye
Uwe

> -----Ursprüngliche Nachricht-----
> Von: Denys Vlasenko [mailto:vda.linux at googlemail.com]
> Gesendet: Dienstag, 9. Juni 2009 20:24
> An: Klatt Uwe
> Cc: busybox at busybox.net
> Betreff: Re: tar returns error 256?
>
>
> On Tue, Jun 9, 2009 at 4:02 PM, Klatt Uwe<U.Klatt at miwe.de> wrote:
> > I have busybox v1.10.1 on mipsel linux and use tar command
> to compress protocol data every 15 minutes.
> > Sometimes tar returns 256 and creates a 0-byte file.
> > What does this error mean?
>
> Provide more information. What does "tar returns 256" mean?
> Does it print such message or is it its exitcode?
> (exitcode of 256 would be fun, as exitcodes in Unix
> are always in [0,255]).
>
> --
> vda
>


More information about the busybox mailing list