Date: Mon, 02 Dec 2019 05:24:30 +0000 From: bugzilla-noreply@freebsd.org To: rc@FreeBSD.org Subject: [Bug 240875] usr.sbin/sysrc: If the file to be modified does not exist, an error message is displayed Message-ID: <bug-240875-20181-aiFsXqlWR2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240875-20181@https.bugs.freebsd.org/bugzilla/> References: <bug-240875-20181@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240875 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: dteske Date: Mon Dec 2 05:24:17 UTC 2019 New revision: 355280 URL: https://svnweb.freebsd.org/changeset/base/355280 Log: Fix spurious error from sysrc When using sysrc to modify a file, the file should be created silently. However, with the introduction of SVN r335280, an error of "No such file or directory" would appear despite everything else working as-expected. The nature of this spurious error is that SVN r335280 did not check if the file exists first, before trying to fixup the line-endings in the file just prior to modification. PR: bin/240875 Reported by: Jose Luis Duran MFC after: 3 days Changes: head/usr.sbin/bsdconfig/share/sysrc.subr --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240875-20181-aiFsXqlWR2>