fix: profilemanager panic when reading incomplete config (#4309)

fix: profilemanager panic when reading incomplete config (#4309)
This commit is contained in:
Krzysztof Nazarewski (kdn)
2025-08-08 17:44:25 +02:00
committed by GitHub
parent bef99d48f8
commit 0926400b8a
2 changed files with 10 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ func init() {
rootCmd.PersistentFlags().StringVarP(&serviceName, "service", "s", defaultServiceName, "Netbird system service name")
serviceEnvDesc := `Sets extra environment variables for the service. ` +
`You can specify a comma-separated list of KEY=VALUE pairs. ` +
`E.g. --service-env LOG_LEVEL=debug,CUSTOM_VAR=value`
`E.g. --service-env NB_LOG_LEVEL=debug,CUSTOM_VAR=value`
installCmd.Flags().StringSliceVar(&serviceEnvVars, "service-env", nil, serviceEnvDesc)
reconfigureCmd.Flags().StringSliceVar(&serviceEnvVars, "service-env", nil, serviceEnvDesc)