Mercurial > dropbear
comparison svr-main.c @ 445:edbee0596531
"backgrounding" is more user-understandable than "forking"
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 19 Jul 2007 14:08:24 +0000 |
parents | 337c45621e81 |
children | 278805938dcf |
comparison
equal
deleted
inserted
replaced
444:c0ce48053259 | 445:edbee0596531 |
---|---|
145 | 145 |
146 /* should be done after syslog is working */ | 146 /* should be done after syslog is working */ |
147 if (svr_opts.forkbg) { | 147 if (svr_opts.forkbg) { |
148 dropbear_log(LOG_INFO, "Running in background"); | 148 dropbear_log(LOG_INFO, "Running in background"); |
149 } else { | 149 } else { |
150 dropbear_log(LOG_INFO, "Not forking"); | 150 dropbear_log(LOG_INFO, "Not backgrounding"); |
151 } | 151 } |
152 | 152 |
153 /* create a PID file so that we can be killed easily */ | 153 /* create a PID file so that we can be killed easily */ |
154 pidfile = fopen(svr_opts.pidfile, "w"); | 154 pidfile = fopen(svr_opts.pidfile, "w"); |
155 if (pidfile) { | 155 if (pidfile) { |