diff options
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/vipw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/vipw.c b/login-utils/vipw.c index 9b7696942..2502fcb4e 100644 --- a/login-utils/vipw.c +++ b/login-utils/vipw.c @@ -209,8 +209,7 @@ static void pw_edit(void) if (!pid) { execlp(editor, p, tmp_file, NULL); - /* Shouldn't get here */ - _exit(EXIT_FAILURE); + errexec(editor); } for (;;) { pid = waitpid(pid, &pstat, WUNTRACED); |