X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fview.c;h=b6d2bffb0587c22b11acace439e3d49017517fa6;hb=e72a1cd2aefe4119f6e8cc1e403f95d9d5d25dba;hp=e46c7052392103f43f9df3965b21cd6efe9b85cb;hpb=42f626e843c5b67edeef6499adc146def3239aeb;p=lttng-tools.git diff --git a/src/bin/lttng/commands/view.c b/src/bin/lttng/commands/view.c index e46c70523..b6d2bffb0 100644 --- a/src/bin/lttng/commands/view.c +++ b/src/bin/lttng/commands/view.c @@ -281,7 +281,7 @@ static int spawn_viewer(const char *trace_path) break; } - if (argv == NULL) { + if (argv == NULL || !viewer_bin) { ret = CMD_FATAL; goto error; }