diff options
Diffstat (limited to 'src/rhimportd')
-rw-r--r-- | src/rhimportd/main.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rhimportd/main.go b/src/rhimportd/main.go index 7f0a4ce..57f8c95 100644 --- a/src/rhimportd/main.go +++ b/src/rhimportd/main.go @@ -122,7 +122,11 @@ func main() { return } - conf := rhimport.NewConfig(rdxportUrl.Get().(string), tempDir.Get().(string), localFetchDir.Get().(string)) + conf, err := rhimport.NewConfig(rdconf.Get().(string), rdxportUrl.Get().(string), tempDir.Get().(string), localFetchDir.Get().(string)) + if err != nil { + rhl.Println("Error parsing configuration file:", err) + return + } db, err := rddb.NewDB(rdconf.Get().(string)) if err != nil { |