Changeset a49dcd5
- Timestamp:
- 2006-01-22T20:33:56Z (19 years ago)
- Branches:
- master
- Children:
- 1d2e3c2
- Parents:
- 57c4fc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bitlbee.c
r57c4fc0 ra49dcd5 104 104 else if( i != 0 ) 105 105 exit( 0 ); 106 close( 0 ); 107 close( 1 ); 108 close( 2 ); 106 109 107 chdir( "/" ); 108 109 /* Sometimes std* are already closed (for example when we're in a RESTARTed 110 BitlBee process. So let's only close TTY-fds. */ 111 if( isatty( 0 ) ) close( 0 ); 112 if( isatty( 0 ) ) close( 1 ); 113 if( isatty( 0 ) ) close( 2 ); 110 114 } 111 115 #endif
Note: See TracChangeset
for help on using the changeset viewer.