diff options
author | 2018-09-26 03:03:39 +0000 | |
---|---|---|
committer | 2018-09-26 03:03:39 +0000 | |
commit | 76a56e18bbdf73a3ce07f48d0fd39d32cc730270 (patch) | |
tree | 13718b1d42154af0037d6129ad6bf730ba09970e | |
parent | align RETURN VALUES section with pledge manual; ok deraadt@ (diff) | |
download | wireguard-openbsd-76a56e18bbdf73a3ce07f48d0fd39d32cc730270.tar.xz wireguard-openbsd-76a56e18bbdf73a3ce07f48d0fd39d32cc730270.zip |
related to the fsck changes, quotacheck must also determine & setup
unveil early on for the root filesystem.
-rw-r--r-- | sbin/quotacheck/quotacheck.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c index 3907df9aa16..11a388dd738 100644 --- a/sbin/quotacheck/quotacheck.c +++ b/sbin/quotacheck/quotacheck.c @@ -1,4 +1,4 @@ -/* $OpenBSD: quotacheck.c,v 1.39 2015/12/10 17:27:00 mmcc Exp $ */ +/* $OpenBSD: quotacheck.c,v 1.40 2018/09/26 03:03:39 deraadt Exp $ */ /* $NetBSD: quotacheck.c,v 1.12 1996/03/30 22:34:25 mark Exp $ */ /* @@ -139,6 +139,8 @@ main(int argc, char *argv[]) const char *errstr; char *name; + checkroot(); + errs = maxrun = 0; while ((ch = getopt(argc, argv, "adguvl:")) != -1) { switch(ch) { |