summaryrefslogtreecommitdiff
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2004-11-16 21:59:00 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2004-11-16 21:59:00 +0000
commita98d8c790a08bf3b963dfd8e99fd3db94661cbe0 (patch)
treee94aa86f9903b96e3ad336204563552f30b1630f /usr.sbin/sade
parent1b42d69b50d431ee4dd77e3189d04f0ca7e6a668 (diff)
downloadsrc-test2-a98d8c790a08bf3b963dfd8e99fd3db94661cbe0.tar.gz
src-test2-a98d8c790a08bf3b963dfd8e99fd3db94661cbe0.zip
Notes
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index cfb705ac87c1..b7eee11bfbfa 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -428,7 +428,7 @@ configRC_conf(void)
fprintf(rcSite, "#REMOVED: %s", line);
}
fclose(rcOld);
- } else {
+ } else if (write_header) {
fprintf(rcSite, "# This file now contains just the overrides from /etc/defaults/rc.conf.\n");
fprintf(rcSite, "# Please make all changes to this file, not to /etc/defaults/rc.conf.\n\n");
fprintf(rcSite, "# Enable network daemons for user convenience.\n");