Skip to content

Commit

Permalink
Removed debug output
Browse files Browse the repository at this point in the history
Signed-off-by: Denys <zxzharmlesszxz@gmail.com>
  • Loading branch information
zxzharmlesszxz committed Mar 5, 2024
1 parent 63ae7b6 commit bec4d10
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion smartctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ type SMARTctl struct {
func extractDiskName(input string) string {
re := regexp.MustCompile(`^(/dev/\S+/\S+\s\[|/dev/)(?:\s\[|)(?P<disk>\S+)(?:\]\s.*|)$`)
match := re.FindStringSubmatch(input)
fmt.Printf("MATCH: %s\n", match)
if len(match) >= 2 {
return match[2]
}
Expand Down

0 comments on commit bec4d10

Please sign in to comment.