diff --git a/env_universal_common.cpp b/env_universal_common.cpp index a8d45bcd9..f1c65fb55 100644 --- a/env_universal_common.cpp +++ b/env_universal_common.cpp @@ -1376,7 +1376,12 @@ class universal_notifier_named_pipe_t : public universal_notifier_t { // Maybe open failed, maybe mkfifo failed int err = errno; - report_error(err, L"Unable to make or open a FIFO for universal variables with path '%ls'", vars_path.c_str()); + // We explicitly do NOT report an error for ENOENT or EACCESS + // This works around #1955, where $XDG_RUNTIME_DIR may get a bogus value under suc + if (err != ENOENT && err != EPERM) { + report_error(err, L"Unable to make or open a FIFO for universal variables with path '%ls'", vars_path.c_str()); + } + pipe_fd= -1; } else {