--- rxvt-unicode/src/ptytty.C 2005/12/31 16:06:48 1.24 +++ rxvt-unicode/src/ptytty.C 2006/01/01 05:08:41 1.25 @@ -340,7 +340,7 @@ void rxvt_ptytty::privileges (rxvt_privaction action) { - if (tty < 0) + if (pty < 0) return; rxvt_privileges (RESTORE);