summaryrefslogtreecommitdiffstats
path: root/x11vnc/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/gui.c')
-rw-r--r--x11vnc/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/gui.c b/x11vnc/gui.c
index 99d35ba..d38640d 100644
--- a/x11vnc/gui.c
+++ b/x11vnc/gui.c
@@ -420,7 +420,7 @@ if (0) fprintf(stderr, "run_gui: %s -- %d %d\n", gui_xdisplay, connect_to_x11vnc
}
/* gui */
- if (no_external_cmds) {
+ if (no_external_cmds || !cmd_ok("gui")) {
fprintf(stderr, "cannot run external commands in -nocmds "
"mode:\n");
fprintf(stderr, " \"%s\"\n", "gui + wish");
OpenPOWER on IntegriCloud