Skip to content

Commit

Permalink
Fixing setproctitle function
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
(cherry picked from commit bf6e874)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
galal-hussein authored and brandond committed Aug 2, 2024
1 parent a45cef4 commit e16ad17
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 e16ad17

Please sign in to comment.