mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
56926a0449
init() says args := strings.Split(extraArgs, "|") os.Args = append(os.Args, args...) strings.Split says If s does not contain sep and sep is not empty, Split returns a slice of length 1 whose only element is s. which means init() adds a blank arg to the end of os.Args when extraArgs is empty. This fixes that. Signed-off-by: Larry Clapp <larry@theclapp.org>