From c09db96d31f2d72298001ac73c9e9dbf34ad6a06 Mon Sep 17 00:00:00 2001 From: Yang Xu Date: Mon, 30 Dec 2019 10:57:57 +0800 Subject: [PATCH] generic/386: fill missing brackets in awk Since commit ea726c4a55c98 to check the correct field from df output, it introduced a syntax error. Fix it. Reported-by: Feiyu Zhu Signed-off-by: Yang Xu Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- tests/generic/386 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/386 b/tests/generic/386 index 1291dae0..03c010f7 100755 --- a/tests/generic/386 +++ b/tests/generic/386 @@ -89,7 +89,7 @@ _filter_quota_rpt() { bsize = byte_size($4); } else if ($NF ~ proj_dir) { # this is the "df" output - bsize = byte_size($NF-4)); + bsize = byte_size($(NF-4)); } else { next; } -- 2.39.5