[Midnightbsd-cvs] [MidnightBSD/src] 94f2c3: Fix spurious error from sysrc
Lucas Holt
noreply at github.com
Wed Feb 1 20:28:05 EST 2023
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 94f2c3c476484c4834f9362d720875f09ad9a4b5
https://github.com/MidnightBSD/src/commit/94f2c3c476484c4834f9362d720875f09ad9a4b5
Author: Lucas Holt <luke at foolishgames.com>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M usr.sbin/bsdconfig/share/sysrc.subr
Log Message:
-----------
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.
Obtained from: FreeBSD SVN revision 355280
More information about the Midnightbsd-cvs
mailing list