feature-8 #9
1 changed files with 14 additions and 0 deletions
f-8: code: add first agent binari #8
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
commit
72b2e9afa9
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