summaryrefslogtreecommitdiff
path: root/src/configure.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.c')
-rw-r--r--src/configure.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/configure.c b/src/configure.c
index 9c73f8dc7..8f447fe1c 100644
--- a/src/configure.c
+++ b/src/configure.c
@@ -531,25 +531,9 @@ static enum conffopt promptconfaction(const char* cfgfile, const char* realold,
if (!(what&cfof_prompt))
return what;
- /* if there is a status pipe, send conffile-prompt there */
- if (status_pipes) {
- static struct varbuf *status= NULL;
- struct pipef *pipef= status_pipes;
- int r;
- if (status == NULL) {
- status = nfmalloc(sizeof(struct varbuf));
- varbufinit(status);
- } else
- varbufreset(status);
-
- r= varbufprintf(status, "status: %s : %s : '%s' '%s' %i %i \n",
+ statusfd_send("status: %s : %s : '%s' '%s' %i %i ",
cfgfile, "conffile-prompt",
realold, realnew, useredited, distedited);
- while (pipef) {
- write(pipef->fd, status->buf, r);
- pipef= pipef->next;
- }
- }
do {
/* Flush the terminal's input in case the user