From f1f15d7a3fb188e14c3a7361516c270b2bf897ef Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 30 Mar 2003 21:25:16 +0000 Subject: -{h,k} are mutually exclisive. So only pay attention to the last of the two when both are given. --- usr.bin/du/du.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/du') diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index ef05fc7..9f8e741 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -165,8 +165,8 @@ main(int argc, char *argv[]) valp = vals_base2; break; case 'k': - if (!hflag) - putenv("BLOCKSIZE=1024"); + hflag = 0; + putenv("BLOCKSIZE=1024"); break; case 'r': /* Compatibility. */ break; -- cgit v1.1