Skip to content

Commit 7a028e8

Browse files
authored
Merge pull request #26 from Shelnutt2/ss/allow-empty-passwords
Allow empty passwords
2 parents 99117b2 + 8d9bfbb commit 7a028e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

db2struct/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ func main() {
6565
fmt.Println("Error reading password: " + err.Error())
6666
return
6767
}
68+
} else if mariadbPassword == nil {
69+
p := ""
70+
mariadbPassword = &p
6871
}
6972

7073
if *verbose {

0 commit comments

Comments
 (0)