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:[email protected]]
> Gesendet: Dienstag, 9. Juni 2009 20:24
> An: Klatt Uwe
> Cc: [email protected]
> Betreff: Re: tar returns error 256?
>
>
> On Tue, Jun 9, 2009 at 4:02 PM, Klatt Uwe<[email protected]> 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
>
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox