aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/bin/puppet-bootstrap4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/bin/puppet-bootstrap b/templates/bin/puppet-bootstrap
index dc24910..b2b8eca 100644
--- a/templates/bin/puppet-bootstrap
+++ b/templates/bin/puppet-bootstrap
@@ -19,9 +19,7 @@ function add_submodules {
fi
done
- do
- git submodule update --init
- while [ $? -ne 0 ];
+ git submodule update --init
}
if [ $# -ne 2 ]; then