mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
Direct cleanup in master branch
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
d2a7ea87ca
commit
2a8a4131b2
@ -446,7 +446,7 @@ close_error_pipe (int error, const char *text)
|
||||
title = _("Warning");
|
||||
if (old_error >= 0)
|
||||
{
|
||||
if (dup2 (old_error, 2))
|
||||
if (dup2 (old_error, 2) == -1)
|
||||
{
|
||||
message (error, MSG_ERROR, "%s", _("Error dup'ing old error pipe"));
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user