The recover script should have the same sanity checks as recover.c.
authormillert <millert@openbsd.org>
Sat, 3 Feb 2018 15:44:36 +0000 (15:44 +0000)
committermillert <millert@openbsd.org>
Sat, 3 Feb 2018 15:44:36 +0000 (15:44 +0000)
commitff55c761749539e0fd759db0a7f8a9c0efed8588
tree29269a6c26b665ad824627188746da407812a15b
parentd00b89925b5d36fa1ddffe5a820c033680c89f41
The recover script should have the same sanity checks as recover.c.
Specifically, open files with O_NONBLOCK and enforce a mode of 0600.
usr.bin/vi/build/recover