Message ID | 1577674677-2545-1-git-send-email-xuyang2018.jy@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | generic/386: fill missing brackets in awk | expand |
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; }
Since commit ea726c4a55c98 to check the correct field from df output, it introduced a syntax error. Fix it. Reported-by: Feiyu Zhu <zhufy.jy@cn.fujitsu.com> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com> --- tests/generic/386 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)