aboutsummaryrefslogtreecommitdiffhomepage
path: root/fishd.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-11-28 09:22:08 +1000
committerGravatar axel <axel@liljencrantz.se>2005-11-28 09:22:08 +1000
commitbda7948719555dd7745a416d79aa7e21a252fbdb (patch)
tree04c80e052808cf612be9584054d395f5294c1c0c /fishd.c
parente800fca499a537c0c57e7e504ed2a4ceff91fda4 (diff)
Make sure fishd synchronization happens only when needed
darcs-hash:20051127232208-ac50b-927157fb9b5d3e44981f9ec029735531ae59fd61.gz
Diffstat (limited to 'fishd.c')
-rw-r--r--fishd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fishd.c b/fishd.c
index 9f0eee16..f43d587e 100644
--- a/fishd.c
+++ b/fishd.c
@@ -269,7 +269,7 @@ static void daemonize()
case 0:
{
/*
- Make fish ignore the HUP signal.
+ Make fishd ignore the HUP signal.
*/
struct sigaction act;
sigemptyset( & act.sa_mask );
@@ -285,12 +285,12 @@ static void daemonize()
exit(0);
}
}
-
+
/*
Put ourself in out own processing group
*/
setsid();
-
+
/*
Close stdin and stdout. We only use stderr, anyway.
*/
@@ -427,7 +427,7 @@ int main( int argc, char ** argv )
wperror( L"select" );
exit(1);
}
-
+
if( FD_ISSET( sock, &read_fd ) )
{
if( (child_socket =