From a48ddcc122a4ec8625c634041f4d635ff5935565 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Thu, 28 Aug 2014 00:17:05 +0200 Subject: [PATCH] Always consider input from stdin as a non-session format. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.c b/input.c index b0458e5..f143cf9 100644 --- a/input.c +++ b/input.c @@ -142,7 +142,7 @@ void load_input_file(void) GSList *devices; int ret; - if (!strcmp(opt_input_file, "-") || sr_session_load(opt_input_file, &session) == SR_OK) { + if (strcmp(opt_input_file, "-") || sr_session_load(opt_input_file, &session) == SR_OK) { /* sigrok session file */ ret = sr_session_dev_list(session, &devices); if (ret != SR_OK || !devices->data) { -- 2.30.2