From fe591cf67979f1d0307fbf3116e44a0f413875df Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 5 Dec 1999 05:25:02 +0000 Subject: [PATCH] Remove istty test otherwise we may not detach. --- libraries/liblutil/detach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5