提交 8172bdb2 编写于 作者: D Daniel P. Berrange 提交者: Gerd Hoffmann

scripts: don't throw away stderr when checking out git submodules

The stderr from git is important if git fails to checkout modules
due to network problems, or other unexpected errors.
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
Message-id: 20171020130748.22983-1-berrange@redhat.com
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 2fb6eeac
......@@ -32,7 +32,7 @@ status)
exit $?
;;
update)
git submodule update --init $modules 1>/dev/null 2>&1
git submodule update --init $modules 1>/dev/null
git submodule status $modules > "${substat}"
;;
esac
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册