fix: Exit if no base config file is found

This commit is contained in:
jamesread 2025-11-07 00:51:04 +00:00
parent 50abb53ace
commit 3967b91cf0
1 changed files with 5 additions and 1 deletions

View File

@ -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() {