fix: Fix typo in log helper script 'show_last_run.sh'

So it actually applies the 'num_lines' override arg
This commit is contained in:
John Colvin committed 2023-06-07 13:16:21 -04:00
1 parent aa64dacd65
commit e1234fe583
1 file changed
+1 -1
+1 -1
View File
@@ -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