From 673183d5b05bed275fccf108fd401b09a4b4adb8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 29 Aug 2024 02:25:30 +0200 Subject: startup, settrans: Add missing flush of stderr to get output on waiting --- startup/startup.c | 1 + 1 file changed, 1 insertion(+) (limited to 'startup') diff --git a/startup/startup.c b/startup/startup.c index 34186986..606555d2 100644 --- a/startup/startup.c +++ b/startup/startup.c @@ -246,6 +246,7 @@ notify_shutdown (const char *msg) error_t err; fprintf (stderr, "%s: notifying %s of %s...", program_invocation_short_name, n->name, msg); + fflush (stderr); err = startup_dosync (n->notify_port, 60000); /* 1 minute to reply */ if (err == MACH_SEND_INVALID_DEST) -- cgit v1.2.3