summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-23 01:23:52 +0000
committerQMK Bot <hello@qmk.fm>2022-06-23 01:23:52 +0000
commit25b5c2c5383db0faaa114474f5317c4d5cf1afa5 (patch)
treed4ad7e5b5cf42adf827241cd78c254e8a322de51 /util
parentd3858585ac571e6aa41dba285a6dd4f95bc73aa2 (diff)
parentaaaf3ff66a82757f73e80a1bb67ebaacc4a7dfa6 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'util')
-rwxr-xr-xutil/size_regression.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/size_regression.sh b/util/size_regression.sh
index d474d8d0d5..41ad5b68a3 100755
--- a/util/size_regression.sh
+++ b/util/size_regression.sh
@@ -76,7 +76,7 @@ function build_executor() {
if [[ -n "$last_line" ]] ; then
size_delta=$(( $last_size - $file_size ))
- if { [[ -n "${skip_zero:-}" ]] && [[ $size_delta -ne 0 ]] ; } || [[ $file_size -eq 0 ]] ; then
+ if { [[ -n "${skip_zero:-}" ]] && [[ $size_delta -ne 0 ]] ; } || [[ -z "${skip_zero:-}" ]] || [[ $file_size -eq 0 ]] ; then
printf "Size: %8d, delta: %+6d -- %s\n" "$last_size" "$size_delta" "$last_line"
fi
fi