2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Make this compile after last change.

This commit is contained in:
Todd C. Miller
2012-04-05 12:59:26 -04:00
parent c0a75ce9d9
commit 2311fed457

View File

@@ -104,6 +104,7 @@ static void sigwinch(int s);
static void sync_ttysize(int src, int dst);
static void deliver_signal(pid_t pid, int signo);
static int safe_close(int fd);
static void check_foreground(void);
/*
* Cleanup hook for error()/errorx()
@@ -115,7 +116,7 @@ cleanup(int gotsignal)
if (!tq_empty(&io_plugins) && io_fds[SFD_USERTTY] != -1) {
check_foreground();
if (foreground) {
if (foreground)
term_restore(io_fds[SFD_USERTTY], 0);
}
#ifdef HAVE_SELINUX