Subject: bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails

From: Stefan Monnier <[email-masked]>
Date: Tue, 13 Feb 2024 08:02:16 -0500

>> 1. emacs -Q --fg-daemon=/nonexistent/dir/sock
>> 2. Emacs prints "Starting Emacs daemon." and sits in foreground.
[...]
>> This is because in step 1, the server actually failed to start, but
>> Emacs did not log that at all.  In fact, it's impossible to access the
>> Emacs started in 1 now, since it's not actually running a server and it
>> has no frames.

The problem you point out later is real, but maybe more importantly we
should make sure that any error gets printed at step 2.

        Stefan