mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
Updated generate script
This commit is contained in:
committed by
Dan Christian Bogos
parent
1e6b59c7ee
commit
e601b70419
@@ -58,6 +58,9 @@ func main() {
|
||||
}
|
||||
|
||||
fmt.Println("Generating configuration file ...")
|
||||
if err := os.Remove(*cfgPath); err != nil && !os.IsNotExist(err) {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if err := writeDefaultCofig(*cfgPath); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user