Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/archival/libarchive/data_extract_to_command.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/archival/libarchive/data_extract_to_command.c
r3232 r3621 104 104 "-c", 105 105 archive_handle->tar__to_command, 106 NULL);106 (char *)0); 107 107 bb_perror_msg_and_die("can't execute '%s'", archive_handle->tar__to_command_shell); 108 108 } … … 113 113 close(p[1]); 114 114 115 if (safe_waitpid(pid, &status, 0) == -1) 116 bb_perror_msg_and_die("waitpid"); 115 status = wait_for_exitstatus(pid); 117 116 if (WIFEXITED(status) && WEXITSTATUS(status)) 118 117 bb_error_msg_and_die("'%s' returned status %d", 119 118 archive_handle->tar__to_command, WEXITSTATUS(status)); 120 119 if (WIFSIGNALED(status)) 121 bb_error_msg_and_die("'%s' terminated onsignal %d",120 bb_error_msg_and_die("'%s' terminated by signal %d", 122 121 archive_handle->tar__to_command, WTERMSIG(status)); 123 122
Note:
See TracChangeset
for help on using the changeset viewer.