From 49f515d354d8d40e2053fe5806fea12b06bcb115 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 14 Jan 2014 15:58:31 +0800 Subject: [PATCH] discover: we need stderr for the BusyBox TFTP type check Busybox tftp doesn't support -V, so prints an error to stderr. We'll only see the Busybox identifier if we capture stderr too. Signed-off-by: Jeremy Kerr --- discover/paths.c | 1 + 1 file changed, 1 insertion(+) diff --git a/discover/paths.c b/discover/paths.c index 0c8cc8b..5e577eb 100644 --- a/discover/paths.c +++ b/discover/paths.c @@ -222,6 +222,7 @@ static enum tftp_type check_tftp_type(void *ctx) process->path = pb_system_apps.tftp; process->argv = argv; process->keep_stdout = true; + process->add_stderr = true; process_run_sync(process); if (!process->stdout_buf || process->stdout_len == 0) { -- 2.39.2