summaryrefslogtreecommitdiff
path: root/scripts/git-submodule.sh
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-10-20 14:07:48 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-10-23 08:10:18 +0200
commit8172bdb2d0c829462f8c4fb2cb54a768d295a747 (patch)
tree5d3b552342826f8182e63c077f1bb63a5bea82ad /scripts/git-submodule.sh
parent2fb6eeace5fd2b693b3f26a7e20e046236a4b5cd (diff)
downloadqemu-8172bdb2d0c829462f8c4fb2cb54a768d295a747.tar.gz
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>
Diffstat (limited to 'scripts/git-submodule.sh')
-rwxr-xr-xscripts/git-submodule.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git-submodule.sh b/scripts/git-submodule.sh
index d8fbc7e47e..08932a35f0 100755
--- a/scripts/git-submodule.sh
+++ b/scripts/git-submodule.sh
@@ -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