forked from pool/ipmitool
Thomas Renninger
b5df22b8ad
OBS-URL: https://build.opensuse.org/request/show/868313 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=54
14 lines
500 B
Diff
14 lines
500 B
Diff
Index: ipmitool-1.8.18+git20200916.1245aaa387dc/lib/helper.c
|
|
===================================================================
|
|
--- ipmitool-1.8.18+git20200916.1245aaa387dc.orig/lib/helper.c
|
|
+++ ipmitool-1.8.18+git20200916.1245aaa387dc/lib/helper.c
|
|
@@ -935,7 +935,7 @@ ipmi_start_daemon(struct ipmi_intf *intf
|
|
exit(1);
|
|
}
|
|
ret = dup(fd);
|
|
- if (ret != STDOUT_FILENO) {
|
|
+ if (ret != STDERR_FILENO) {
|
|
lprintf(LOG_ERR, "failed to reset stderr: %s (%d)", strerror(errno), errno);
|
|
exit(1);
|
|
}
|