From a0af5515b89bbcdaec534575e2ea9a1485fc7ef9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Jan 2016 08:12:40 +1100 Subject: [PATCH] mk: show submodule status on failure --- mk/check_modules.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/check_modules.sh b/mk/check_modules.sh index 5edad928fc..ff25668b66 100755 --- a/mk/check_modules.sh +++ b/mk/check_modules.sh @@ -25,10 +25,12 @@ done set -x git submodule init || { echo "git submodule init failed" + git submodule status exit 1 } git submodule update || { echo "git submodule update failed" + git submodule status exit 1 } cat <