Fail if vm.conf exists but cannot be opened, ignore if it doesn't exist.
authorreyk <reyk@openbsd.org>
Fri, 21 Apr 2017 11:02:10 +0000 (11:02 +0000)
committerreyk <reyk@openbsd.org>
Fri, 21 Apr 2017 11:02:10 +0000 (11:02 +0000)
commit8d6f4d1bb411190c1546cfe7635854010420d7ef
tree3027b6613302095560436cea47468e2d8b9c1629
parenta7955d1f7a82d4b82b830268f4adab102ddea5fb
Fail if vm.conf exists but cannot be opened, ignore if it doesn't exist.

This fixes 'vmd -nf /etv/vm.conf' if the file is not readable.
usr.sbin/vmd/parse.y