From c65db6afe294bd7b6c3a35c7979124fc2934925e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 9 May 2017 12:21:03 +0200 Subject: [PATCH] minfix --- lib/file/truncate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file/truncate b/lib/file/truncate index 8528cb0..f1348dc 100755 --- a/lib/file/truncate +++ b/lib/file/truncate @@ -25,7 +25,7 @@ fi; # (3) Check number of lines to truncate # if [ $2 -gt $(wc -l "$DATA_DIR/$1" | awk '{print $1}') ]; then - slog "Failure: asked to remove $2 lines out of $(wc -l "$DATA_DIR/$1") lines" "file:truncate" "update"; + slog "Failure: asked to remove $2 lines out of `wc -l "$DATA_DIR/$1" | awk '{print $1}'` lines" "file:truncate" "update"; echo 130; exit 130; fi;