提交 ac138488 编写于 作者: A Antti Ahti 提交者: Rob Franken

Fail hyperkube.sh if any command fails (#1352)

hyperkube.sh is started as part of the `gulp local-up-cluster` task. The
script can fail for example if the docker daemon is not running. This
failure was not reported to the user in anyway. By adding the -e flag we
make sure that the script returns error code if any of the commands
fail. A useful error message is also shown to the user in the example
error case.
上级 4c76f698
#!/bin/bash
#!/bin/bash -e
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册