diff --git a/src/builtins/pwd.cpp b/src/builtins/pwd.cpp index 7e4de3f8d..6fd11b77e 100644 --- a/src/builtins/pwd.cpp +++ b/src/builtins/pwd.cpp @@ -61,7 +61,7 @@ maybe_t builtin_pwd(parser_t &parser, io_streams_t &streams, const wchar_t pwd = std::move(*real_pwd); } else { const char *error = std::strerror(errno); - streams.err.append_format(L"%ls: realpath failed: %s", cmd, error); + streams.err.append_format(L"%ls: realpath failed: %s\n", cmd, error); return STATUS_CMD_ERROR; } }