Skip to content

Commit

Permalink
Fixing setproctitle function
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein committed May 3, 2024
1 parent 8b42719 commit bf6e874
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/proctitle/proctile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
package proctitle

import (
"os"

"github.com/erikdubbelboer/gspt"
)

func SetProcTitle(cmd string) {
gspt.SetProcTitle(os.Args[0] + " agent")
gspt.SetProcTitle(cmd)
}

0 comments on commit bf6e874

Please sign in to comment.