forked from Elara6331/itd
		
	Fix itctl panic when itd is not running (Fixes #14)
This commit is contained in:
		| @@ -184,7 +184,10 @@ func main() { | ||||
| 			return nil | ||||
| 		}, | ||||
| 		After: func(*cli.Context) error { | ||||
| 			return client.Close() | ||||
| 			if client != nil { | ||||
| 				client.Close() | ||||
| 			} | ||||
| 			return nil | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user