use current directory as default logging socket path

This commit is contained in:
Bradley Cicenas 2017-05-31 14:21:32 +00:00
parent b4e1fbf290
commit f3d26e038d
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ CTOP_DEBUG=1 ./ctop
While `ctop` is running, you can connect to the logging socket via socat or similar tools:
```bash
socat unix-connect:/tmp/ctop.sock stdio
socat unix-connect:./ctop.sock stdio
```
example output:

View File

@ -7,7 +7,7 @@ import (
)
const (
path = "/tmp/ctop.sock"
path = "./ctop.sock"
)
var server struct {