pledge() a little later, after getopt operation, in case -f option changes
authorderaadt <deraadt@openbsd.org>
Fri, 3 Aug 2018 15:01:28 +0000 (15:01 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 3 Aug 2018 15:01:28 +0000 (15:01 +0000)
commit44b1ca154554d96714322370da269fde9cb6c6b5
tree0a25577749200524be79a0fef946e30a3e4403be
parent84fb7300af1527651333bf8d30bb43f142ce7b79
pledge() a little later, after getopt operation, in case -f option changes
the filename.  We can then unveil that file, pledge() as before, and proceed
to parsing.
usr.bin/last/last.c