From: Kurt Zeilenga Date: Sun, 5 Dec 1999 05:25:02 +0000 (+0000) Subject: Remove istty test otherwise we may not detach. X-Git-Tag: UCDATA_2_4~144 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe591cf67979f1d0307fbf3116e44a0f413875df;p=openldap Remove istty test otherwise we may not detach. --- diff --git a/libraries/liblutil/detach.c b/libraries/liblutil/detach.c index c4f2aa4478..90cb984118 100644 --- a/libraries/liblutil/detach.c +++ b/libraries/liblutil/detach.c @@ -83,7 +83,7 @@ lutil_detach( int debug, int do_close ) exit( EXIT_FAILURE ); } for ( i = 0; i < 3; i++ ) - if ( sd != i && isatty( i ) ) + if ( sd != i ) (void) dup2( sd, i ); if ( sd > 2 ) close( sd );