]> sigrok.org Git - sigrok-cli.git/blobdiff - input.c
parse_probestring: Return list of all probes by default.
[sigrok-cli.git] / input.c
diff --git a/input.c b/input.c
index b293ddd908c6bc341c30e19d4fb8bdc3f61dfb7f..c483546000897a1a1c823f9052543a6327ab0e01 100644 (file)
--- a/input.c
+++ b/input.c
@@ -131,7 +131,7 @@ static void load_input_file_format(void)
                }
        }
 
-       if (select_probes(in->sdi) > 0)
+       if (select_probes(in->sdi) != SR_OK)
                return;
 
        sr_session_new();