fix: Exit if no base config file is found
This commit is contained in:
parent
50abb53ace
commit
3967b91cf0
|
|
@ -192,8 +192,12 @@ func initConfig(configDir string) {
|
|||
|
||||
cfg = config.DefaultConfigWithBasePort(getBasePort())
|
||||
|
||||
config.AppendSource(cfg, k, baseConfigPath)
|
||||
if baseConfigPath == "" {
|
||||
log.Fatalf("No base config file found")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
config.AppendSource(cfg, k, baseConfigPath)
|
||||
}
|
||||
|
||||
func initInstallationInfo() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue