diff options
author | Joe <rbo@gmx.us> | 2023-12-18 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-18 20:20:20 +0100 |
commit | 037e60b3c95c0e086a4d684e9a6abc6e2661cf57 (patch) | |
tree | 80fc519c7920648883970d691cc8f629552932a6 /c_exec.go | |
parent | josh hardflip now (diff) | |
download | hardflip-037e60b3c95c0e086a4d684e9a6abc6e2661cf57.tar.gz hardflip-037e60b3c95c0e086a4d684e9a6abc6e2661cf57.tar.bz2 hardflip-037e60b3c95c0e086a4d684e9a6abc6e2661cf57.tar.xz hardflip-037e60b3c95c0e086a4d684e9a6abc6e2661cf57.tar.zst hardflip-037e60b3c95c0e086a4d684e9a6abc6e2661cf57.zip |
up
Diffstat (limited to '')
-rw-r--r-- | c_exec.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -56,6 +56,10 @@ import ( func display_servers(lhost *HostList) { curr := lhost.head + if lhost.head == nil { + fmt.Println("no hosts") + return + } for curr != nil { fmt.Println(curr.ID, curr.Folder + curr.Name) curr = curr.next |