commit 0ed3e5d93bf6e1004bbf0a4073937b3dac503c9e parent f3ed3d01fb0f7bdabd10f451ff4f3cd071ed7627 Author: Peter Kosyh <p.kosyh@gmail.com> Date: Mon, 14 Sep 2020 22:13:49 +0300 return vs exit to make defer works Diffstat:
| M | ii-tool/main.go | | | 1 | - |
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/ii-tool/main.go b/ii-tool/main.go @@ -375,5 +375,4 @@ Options: fmt.Printf("Wrong cmd: %s\n", cmd) os.Exit(1) } - os.Exit(0) }