f-8: code: add first agent binari #8
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
6a225a6162
commit
72b2e9afa9
1 changed files with 14 additions and 0 deletions
14
cmd/agent/main.go
Normal file
14
cmd/agent/main.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
bin_name := os.Args[0]
|
||||
|
||||
fmt.Printf("%s: Start process\n", bin_name)
|
||||
|
||||
os.Exit(5)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue