f-8: code: move binary name #8
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
55ed2c8e53
commit
1ac1e61864
1 changed files with 5 additions and 2 deletions
|
|
@ -5,10 +5,13 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
var (
|
||||
bin_name = os.Args[0]
|
||||
)
|
||||
|
||||
func main() {
|
||||
bin_name := os.Args[0]
|
||||
|
||||
fmt.Printf("%s: Start process\n", bin_name)
|
||||
|
||||
os.Exit(5)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue