summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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