Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@150-95-173-241 processlog]# go run org_main.go -logdir=/root/log ./test.sh
- /root/log
- panic: runtime error: invalid memory address or nil pointer dereference
- [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x498f3d]
- goroutine 1 [running]:
- fmt.Fprintln(0x0, 0x0, 0xc00007af48, 0x1, 0x1, 0x0, 0x0, 0x0)
- /usr/local/go/src/fmt/print.go:266 +0x5d
- main.main()
- /root/go/src/processlog/org_main.go:76 +0x349
- exit status 2
- [root@150-95-173-241 processlog]#
- [root@150-95-173-241 processlog]# go run org_main.go ./test.sh -logdir=/root/log
- exit status 0
- wall clock time=1.895041ms system time=1.681ms user time=0s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement