mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-26 16:26:50 +09:00
Minor output fix & README improvements
This commit is contained in:
1 parent
2733a34033
commit
fc13f74851
2 files changed
+9
-3
No files matched your search
@@ -63,7 +63,12 @@ var registerCmd = &cobra.Command{
|
||||
if err != nil {
|
||||
log.Fatalf("Error initializing: %s", err)
|
||||
}
|
||||
h.RegisterMachine(args[0], args[1])
|
||||
err = h.RegisterMachine(args[0], args[1])
|
||||
if err != nil {
|
||||
fmt.Printf("Error: %s", err)
|
||||
return
|
||||
}
|
||||
fmt.Println("Ook.")
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user