diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-03-31 09:39:08 +0200 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-03-31 09:39:08 +0200 | 
| commit | 755ae5b84f4b0806e339a6e1503406bf43028fd5 (patch) | |
| tree | d63da1d5fe498f0ac78ec8384e4d8306c620c717 /bitlbee.c | |
| parent | 192b80a1175690187be4bad30c36d286f8e63eb0 (diff) | |
Cut-and-paste considered harmful.
Diffstat (limited to 'bitlbee.c')
| -rw-r--r-- | bitlbee.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -110,8 +110,8 @@ int bitlbee_daemon_init()  		/* Sometimes std* are already closed (for example when we're in a RESTARTed  		   BitlBee process. So let's only close TTY-fds. */  		if( isatty( 0 ) ) close( 0 ); -		if( isatty( 0 ) ) close( 1 ); -		if( isatty( 0 ) ) close( 2 ); +		if( isatty( 1 ) ) close( 1 ); +		if( isatty( 2 ) ) close( 2 );  	}  #endif | 
