summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.c b/src/rest.c
index 082a4e5..59b165c 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -781,7 +781,7 @@ static int og_cmd_run_get(json_t *element, struct og_msg_params *params,
struct og_client *cli;
cli = og_client_find(params->ips_array[i]);
- if (!cli)
+ if (!cli || !cli->shell.tstamp)
continue;
object = json_object();