From e1234fe583968cc8f95b80cebf2d87ea6a4a723f Mon Sep 17 00:00:00 2001 From: John Colvin Date: Thu, 27 Apr 2023 04:41:57 +0000 Subject: [PATCH] fix: Fix typo in log helper script 'show_last_run.sh' So it actually applies the 'num_lines' override arg --- tools/logging/show_last_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/logging/show_last_run.sh b/tools/logging/show_last_run.sh index 6ff14ce9e..a398dea01 100755 --- a/tools/logging/show_last_run.sh +++ b/tools/logging/show_last_run.sh @@ -2,7 +2,7 @@ declare num_lines=9999 if [[ "$#" -gt 0 ]]; then - set num_lines=$1 + num_lines=$1 fi tac ~/sparkdata/data/logging/log | grep "Sparkd launched" -m 1 -B $num_lines | tac | less