diff options
Diffstat (limited to 'src/util/pty/cleanup.c')
-rw-r--r-- | src/util/pty/cleanup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/pty/cleanup.c b/src/util/pty/cleanup.c index 0e9104e..1e109ba 100644 --- a/src/util/pty/cleanup.c +++ b/src/util/pty/cleanup.c @@ -37,7 +37,9 @@ long pty_cleanup (slave, pid, update_utmp) (void)chmod(slave, 0666); (void)chown(slave, 0, 0); #ifdef HAVE_REVOKE +#ifndef _AIX revoke(slave); +#endif /* * Revoke isn't guaranteed to send a SIGHUP to the processes it * dissociates from the terminal. The best solution without a Posix |