]> andersk Git - openssh.git/blobdiff - log.c
- (djm) Disable sigdie() for platforms that cannot safely syslog inside
[openssh.git] / log.c
diff --git a/log.c b/log.c
index 32db0cb5f52ddd7ab48493e2ea8ed7f5c8f13e41..0ce4d85f7c2772804862a55543d6afc9e144f5c4 100644 (file)
--- a/log.c
+++ b/log.c
@@ -142,9 +142,11 @@ sigdie(const char *fmt,...)
 {
        va_list args;
 
+#ifdef DO_LOG_SAFE_IN_SIGHAND
        va_start(args, fmt);
        do_log(SYSLOG_LEVEL_FATAL, fmt, args);
        va_end(args);
+#endif
        _exit(1);
 }
 
This page took 0.03295 seconds and 4 git commands to generate.