diff --git a/extract.go b/extract.go index 2ac9953..741d056 100644 --- a/extract.go +++ b/extract.go @@ -236,7 +236,7 @@ func listTags(isoPath, part, volName string) ([]TagInfo, error) { func parseTags(output string) []TagInfo { reTag := regexp.MustCompile(`^\s*(\d+)\s+(\S.*)`) - var tags []TagInfo + tags := []TagInfo{} inTags := false for _, line := range strings.Split(output, "\n") {