device_script(): fix our close() action for the case where in or out <= 2;
authorFrank Cusack <fcusack@fcusack.com>
Mon, 24 Feb 2003 12:46:37 +0000 (12:46 +0000)
committerFrank Cusack <fcusack@fcusack.com>
Mon, 24 Feb 2003 12:46:37 +0000 (12:46 +0000)
commit96d6d93dc44fc9c76cdaf7ada6deaf515f18680e
tree3591d5a04bbfc559907b0e90e42bd39b48256d41
parent31b9087e92f1d0ecf87dc05c2ff4704be7b19870
device_script(): fix our close() action for the case where in or out <= 2;
also don't leak [the original fd of] a dup()'d log_to_fd, when log_to_fd
is > 2.
pppd/main.c