summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/actions.c b/src/actions.c
index 3f99057..5963fbe 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5029,10 +5029,6 @@ 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);
-
if (args[0] == NULL)
output = get_input(MESSAGE_PROMPT_COMMAND, trivial_completions);
else