summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);