summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/actions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index 8c83e60..3f99057 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5029,6 +5029,7 @@ cmd_prompt (int interactive, struct cmdarg **args)
cmdret *ret;
char *query, *output, *prefix;
+ /* prompt has no use in interactive mode. So just silently fail. */
if (interactive)
return cmdret_new (NULL, RET_FAILURE);