From 42202c1b5d3d037173a25ce3ac76db5f0429eb90 Mon Sep 17 00:00:00 2001 From: sabetts Date: Sun, 6 Feb 2005 20:51:37 +0000 Subject: (cmd_prompt): allow prompt to be run interactively. --- src/actions.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3