Open Tolsi opened 11 years ago
Then I haven't ~/.cjdnsadmin and I want to generate it, cjdcmd trying to read it... I use Mint 15 x64 (Ubuntu 13.04)
~/hypehost $ rm ~/.cjdnsadmin ~/hypehost $ cjdcmd cjdnsadmin --file ~/.cjdnsadmin Loading configuration from: /home/user/.cjdnsadmin... Error loading config: open /home/user/.cjdnsadmin: no such file or directory ~/hypehost $ touch ~/.cjdnsadmin ~/hypehost $ cjdcmd cjdnsadmin --file ~/.cjdnsadmin Loading configuration from: /home/user/.cjdnsadmin... Invalid JSON ---------------------------------------- panic: runtime error: slice bounds out of range goroutine 1 [running]: runtime.panic(0x6cb200, 0xa541ea) /usr/local/go/src/pkg/runtime/panic.c:266 +0xb6 github.com/inhies/go-cjdns/config.LoadMinConfig(0x7fff92a4da21, 0x17, 0x37, 0x0, 0x0) /home/user/projects/go/src/github.com/inhies/go-cjdns/config/config.go:30 +0x4ee main.readConfig(0x777ef0, 0x0, 0x0) /home/user/projects/go/src/github.com/inhies/cjdcmd/misc.go:114 +0x49 main.main() /home/user/projects/go/src/github.com/inhies/cjdcmd/cjdcmd.go:269 +0xbd2 goroutine 3 [syscall]: os/signal.loop() /usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e created by os/signal.init·1 /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x31 goroutine 4 [chan receive]: main.func·001() /home/user/projects/go/src/github.com/inhies/cjdcmd/cjdcmd.go:214 +0x5f created by main.main /home/user/projects/go/src/github.com/inhies/cjdcmd/cjdcmd.go:241 +0x5a8 ~/hypehost $ cat ~/.cjdnsadmin
Then I haven't ~/.cjdnsadmin and I want to generate it, cjdcmd trying to read it... I use Mint 15 x64 (Ubuntu 13.04)