summaryrefslogtreecommitdiffstats
path: root/usr.sbin/repquota/repquota.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/repquota/repquota.c')
-rw-r--r--usr.sbin/repquota/repquota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c
index 8376bea3210..bbde734daaf 100644
--- a/usr.sbin/repquota/repquota.c
+++ b/usr.sbin/repquota/repquota.c
@@ -102,7 +102,7 @@ main(int argc, char *argv[])
}
argc -= optind;
argv += optind;
- if (argc == 0 && !aflag)
+ if ((argc == 0) == (aflag == 0))
usage();
if (!gflag && !uflag) {
if (aflag)