Fix logrotate lines max

$lines variable is not defined in "sg_script_logrotate" function.
tail: -: No such file or directory