mirror of https://github.com/k3s-io/k3s
Fixing setproctitle function
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>pull/10063/head
parent
8b427198c9
commit
bf6e874241
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue