mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
alpm_run_chroot: remove dead code
Removes a leftover error message from when fdopen and fgets were used to read from the pipe. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
137ea39fa1
commit
2015f0d1d9
@ -705,11 +705,6 @@ int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[],
|
||||
}
|
||||
}
|
||||
|
||||
/* report error from above after the child has exited */
|
||||
if(retval != 0) {
|
||||
_alpm_log(handle, ALPM_LOG_ERROR, _("could not open pipe (%s)\n"), strerror(errno));
|
||||
goto cleanup;
|
||||
}
|
||||
/* check the return status, make sure it is 0 (success) */
|
||||
if(WIFEXITED(status)) {
|
||||
_alpm_log(handle, ALPM_LOG_DEBUG, "call to waitpid succeeded\n");
|
||||
|
Loading…
Reference in New Issue
Block a user