[Why] 'load custom dnsmasq.conf' step will cp custom config to WORKSPACE, but when a user without permission execute this step, cp will failed.
So add 'set -e' at the beginning of the script to solve this problem.
Signed-off-by: Yu Chuan 13186087857@163.com --- container/dnsmasq/start | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/container/dnsmasq/start b/container/dnsmasq/start index ff4247046eb1..b2eefbd89c16 100755 --- a/container/dnsmasq/start +++ b/container/dnsmasq/start @@ -2,6 +2,8 @@ # SPDX-License-Identifier: MulanPSL-2.0+ # Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+set -e + . $CCI_SRC/container/defconfig.sh
docker_rm dnsmasq