diff options
Diffstat (limited to 'cmd/goctl/main.go')
-rw-r--r-- | cmd/goctl/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/goctl/main.go b/cmd/goctl/main.go index 9a8e01c..395a643 100644 --- a/cmd/goctl/main.go +++ b/cmd/goctl/main.go @@ -26,7 +26,7 @@ func main() { } defer c.Close() - goctl.Write(c, []byte(strings.Join(flag.Args(), " "))) + goctl.Write(c, []byte(strings.Join(flag.Args(), "\u0000"))) if buf, err := goctl.Read(c); err != nil { log.Fatalf("Error reading response from command: %s.", err) } else { |