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: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20171020130748.22983-1-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Daniel P. Berrange 2017-10-20 14:07:48 +01:00 committed by Gerd Hoffmann
parent 2fb6eeace5
commit 8172bdb2d0
1 changed files with 1 additions and 1 deletions

View File

@ -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