Skip to content
Snippets Groups Projects
Commit fe591cf6 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Remove istty test otherwise we may not detach.

parent d363ea07
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment