sudo switches its real uid to root while it starts, so kill -0 from the
invoking user fails with EPERM even though the mount process is alive,
and the wait loop reported "weed mount exited early" a few milliseconds
after starting it.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>