minfix
This commit is contained in:
parent
37be0b478a
commit
c65db6afe2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue