Date: Thu, 10 Apr 2008 22:57:54 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/config main.c Message-ID: <200804102257.m3AMvsOn049477@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804102257.m3AMvsOn049477>