diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-04 11:37:49 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-04 11:37:49 -0300 |
commit | 003c914edbd5e9be562caa3ac456a21ef2b63586 (patch) | |
tree | 868886c291d76655cd04191793d5dce8f12e55eb /build.sh | |
parent | 906ca3b03eb977922d274766d3a8b57ac3db7902 (diff) | |
download | pfsense-003c914edbd5e9be562caa3ac456a21ef2b63586.zip pfsense-003c914edbd5e9be562caa3ac456a21ef2b63586.tar.gz |
Avoid adding empty line at log head
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -332,8 +332,8 @@ fi echo ">>> Building image type(s): ${_IMAGESTOBUILD}" if [ -n "${SNAPSHOTS}" ]; then - echo "" > $SNAPSHOTSLOGFILE - echo "" > $SNAPSHOTSLASTUPDATE + rm -f $SNAPSHOTSLOGFILE; touch $SNAPSHOTSLOGFILE + rm -f $SNAPSHOTSLASTUPDATE; touch $SNAPSHOTSLASTUPDATE snapshots_rotate_logfile |