cvs commit: src/usr.sbin/config main.c
Warner Losh
imp at FreeBSD.org
Thu Apr 10 22:57:55 UTC 2008
imp 2008-04-10 22:57:54 UTC
FreeBSD src repository
Modified files:
usr.sbin/config main.c
Log:
Fix a bug introduced by DEFAULTS feature. When the config file
doesn't exist, we make a directory and then say "oops, that file isn't
there" leaving the directory behind. Add a stat for the config file
so that we detect this before making the directory. This is
semi-lame, but less lame than having this bug.
Revision Changes Path
1.78 +2 -0 src/usr.sbin/config/main.c
More information about the cvs-src
mailing list