Check return value after loading config file