helpGNU tar - Support: sr #109391, Child returned status 2

 
 

sr #109391: Child returned status 2

Submitted by:  J <now3d>
Submitted on:  Wed 27 Sep 2017 09:04:45 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 27 Sep 2017 09:04:45 AM UTC, original submission:

Hello

I saw in latest 1.29 the error numbers are output, rather than strerror(). Could that be updated? Would this be supported?

system.c:194

else if (WEXITSTATUS (wait_status) != 0)
FATAL_ERROR ((0, 0, _("Child returned status %d"),
WEXITSTATUS (wait_status)));

$ tar cvfz .thunderbird 2017-09-2
tar: 2017-09-2: Cannot stat: No such file or directory
tar (child): .thunderbird: Cannot open: Is a directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

There are others for signals
if (!(!eof && sig == SIGPIPE))
FATAL_ERROR ((0, 0, _("Child died with signal %d"), sig));

Could strsignal() be used too so those are clearer?

Thank you

J <now3d>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by now3d (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1