Skip to content

Commit

Permalink
fix merge issue with func name
Browse files Browse the repository at this point in the history
  • Loading branch information
bragi92 committed Oct 28, 2024
1 parent 9e7eae5 commit 5a2eede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otelcollector/shared/process_utilities_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ func IsProcessRunning(processName string) bool {
return false
}

// SetEnvAndSourceBashrc sets a key-value pair as an environment variable in the .bashrc file
// SetEnvAndSourceBashrcOrPowershell sets a key-value pair as an environment variable in the .bashrc file
// and sources the file to apply changes immediately. If echo is true, it calls EchoVar
func SetEnvAndSourceBashrc(key, value string, echo bool) error {
func SetEnvAndSourceBashrcOrPowershell(key, value string, echo bool) error {

// Set the environment variable
err := os.Setenv(key, value)
Expand Down

0 comments on commit 5a2eede

Please sign in to comment.