mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
Remove istty test otherwise we may not detach.
This commit is contained in:
parent
d363ea073b
commit
fe591cf679
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue