From a501ef438acfb88bf822ea12e1fdd586e8e1baaf Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Thu, 8 Jul 2021 16:38:54 +0200 Subject: use usual random ids for modelname and solidname in havoc 15, various smaller fixes --- service/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/src/main.c') diff --git a/service/src/main.c b/service/src/main.c index d84a460..dd8bca9 100644 --- a/service/src/main.c +++ b/service/src/main.c @@ -348,7 +348,7 @@ search_cmd(const char *arg) while (1) { resp = ask("> Enter %s [q to quit]: ", resp ? "another" : "hash"); - if (strchr(resp, 'q')) break; + if (strchr(resp, 'q') || !*resp) break; if (checkalph(resp, ".abcdef0123456789-") != OK) { ERR("Invalid model id specified\n"); goto exit; -- cgit v1.2.3-71-gd317