Fixing setproctitle function

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
pull/10063/head
galal-hussein 7 months ago
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…
Cancel
Save