git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move errno-protection into string_open_failed()
[users/jgh/exim.git]
/
src
/
src
/
daemon.c
diff --git
a/src/src/daemon.c
b/src/src/daemon.c
index 09cb1a7f12b9c8262c1def2b0eb9b78bde0d5232..c376f27c766b6853ff4e1e17a533e45dc45f376e 100644
(file)
--- a/
src/src/daemon.c
+++ b/
src/src/daemon.c
@@
-950,8
+950,7
@@
if ((f = Ufopen(pid_file_path, "rb")))
}
else
DEBUG(D_any)
}
else
DEBUG(D_any)
- debug_printf("%s\n", string_open_failed(errno, "pid file %s",
- pid_file_path));
+ debug_printf("%s\n", string_open_failed("pid file %s", pid_file_path));
exim_exit(EXIT_SUCCESS);
}
exim_exit(EXIT_SUCCESS);
}
@@
-1822,8
+1821,7
@@
if (f.running_in_test_harness || write_pid)
}
else
DEBUG(D_any)
}
else
DEBUG(D_any)
- debug_printf("%s\n", string_open_failed(errno, "pid file %s",
- pid_file_path));
+ debug_printf("%s\n", string_open_failed("pid file %s", pid_file_path));
}
/* Set up the handler for SIGHUP, which causes a restart of the daemon. */
}
/* Set up the handler for SIGHUP, which causes a restart of the daemon. */