Signed-off-by: Ferenc Wagner <wferi at niif.hu>
---
tftpd/tftpd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tftpd/tftpd.c b/tftpd/tftpd.c
index 721ebd8..1f5d9d6 100644
--- a/tftpd/tftpd.c
+++ b/tftpd/tftpd.c
@@ -696,7 +696,7 @@ int main(int argc, char **argv)
}
#endif
/* Daemonize this process */
- /* Note: when running in secure mode (-s), we must not chroot, since
+ /* Note: when running in secure mode (-s), we must not chdir, since
we are already in the proper directory. */
if (!nodaemon && daemon(secure, 0) < 0) {
syslog(LOG_ERR, "cannot daemonize: %m");
--
1.5.6.5
Op 20090705 om 01:00 schreef Ferenc Wagner:> Signed-off-by: Ferenc Wagner <wferi at niif.hu> > --- > tftpd/tftpd.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tftpd/tftpd.c b/tftpd/tftpd.c > index 721ebd8..1f5d9d6 100644 > --- a/tftpd/tftpd.c > +++ b/tftpd/tftpd.c > @@ -696,7 +696,7 @@ int main(int argc, char **argv) > } > #endif > /* Daemonize this process */ > - /* Note: when running in secure mode (-s), we must not chroot, since > + /* Note: when running in secure mode (-s), we must not chdir, since > we are already in the proper directory. */ > if (!nodaemon && daemon(secure, 0) < 0) { > syslog(LOG_ERR, "cannot daemonize: %m"); > --FWIW: I didn't see any follow on the above patch ... Cheers Geert Stappers