diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go index be9bd2db2..c99287dff 100644 --- a/weed/shell/command_volume_fsck.go +++ b/weed/shell/command_volume_fsck.go @@ -424,7 +424,7 @@ func (c *commandVolumeFsck) collectOneVolumeFileIds(dataNodeId string, volumeId return resp.AppendAtNs <= cutoffFrom, nil }) if err != nil { - fmt.Fprintf(c.writer, "Failed to search for last valid index on volume %d with error %v", volumeId, err) + fmt.Fprintf(c.writer, "Failed to search for last valid index on volume %d with error %v\n", volumeId, err) } else { buf.Truncate(index * types.NeedleMapEntrySize) }