Skip to content

Commit c24a347

Browse files
committed
CI
1 parent 639b20d commit c24a347

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

build-steps.d/1200_prepare-build-machine

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,13 @@ approx_proxy_setup() {
266266
$SUDO_TO_ROOT cp --no-preserve=mode -- "$source_code_folder_dist/approx/curlrc-tor" '/etc/approx-derivative-maker/curl-home/.curlrc'
267267
fi
268268

269-
$SUDO_TO_ROOT systemctl daemon-reload
270-
$SUDO_TO_ROOT systemctl restart approx-derivative-maker.socket
269+
if [ "${CI:-}" = "true" ]; then
270+
$SUDO_TO_ROOT systemctl daemon-reload || true "WARNING: Failed."
271+
$SUDO_TO_ROOT systemctl restart approx-derivative-maker.socket || true "WARNING: Failed."
272+
else
273+
$SUDO_TO_ROOT systemctl daemon-reload
274+
$SUDO_TO_ROOT systemctl restart approx-derivative-maker.socket
275+
fi
271276

272277
if [ "${dist_build_redistributable:-}" != "true" ]; then
273278
return 0

0 commit comments

Comments
 (0)