This commit is contained in:
xdrm-brackets 2017-05-09 12:21:03 +02:00
parent 37be0b478a
commit c65db6afe2
1 changed files with 1 additions and 1 deletions

View File

@ -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;