Fix config path for lassoctl
This commit is contained in:
		@@ -57,7 +57,8 @@ func initConfig() {
 | 
			
		||||
		// Use config file from the flag.
 | 
			
		||||
		viper.SetConfigFile(cfgFile)
 | 
			
		||||
	} else {
 | 
			
		||||
		viper.SetConfigType("/etc")
 | 
			
		||||
		viper.AddConfigPath("/etc")
 | 
			
		||||
		viper.SetConfigType("toml")
 | 
			
		||||
		viper.SetConfigName("lassoctl")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user