1
0

🔨」 fix(Mariadb): change to my log function

This commit is contained in:
2025-01-09 10:11:18 +01:00
parent e793ca3afb
commit c447c3ae70

View File

@ -175,17 +175,17 @@ func main() {
configureMariaDB(rootPass, user, pass, dbName)
if err := removeSkipNetworking(filePath); err != nil {
fmt.Printf("Error: %v\n", err)
} else {
fmt.Println("Successfully removed 'skip-networking' from the configuration file.")
}
cmd = exec.Command("mysqladmin", "-uroot", "-p"+rootPass, "shutdown")
if err := cmd.Run(); err != nil {
fmt.Printf("Error stopping MariaDB: %v\n", err)
}
}
if err := removeSkipNetworking(filePath); err != nil {
fmt.Printf("Error: %v\n", err)
} else {
_log.Log("note", "Successfully removed 'skip-networking' from the configuration file.")
}
}
cmd := exec.Command(args[1], args[2:]...)