mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
pty_process_unix: _exit() on execvp() failure
Mostly cargo-culting based on a reading of the manpages, interwebs, and the Vim source.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#endif
|
||||
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/log.h"
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/globals.h"
|
||||
#include "nvim/memline.h"
|
||||
@@ -162,7 +163,7 @@ static void on_signal(SignalWatcher *handle, int signum, void *data)
|
||||
}
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "Invalid signal %d", signum);
|
||||
ELOG("invalid signal: %d", signum);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user