From 5e48b69d3bb3a74c8f31b2e8db7716a6168dc188 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 14 May 2021 11:13:52 +0200 Subject: [PATCH] Revert "taskworker: Use --unhandled-rejections=strict" Breaks the task argument count This reverts commit b7643ae3b35364a61adaf82ce78b915d91bd7c02. --- src/scripts/starttask.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/starttask.sh b/src/scripts/starttask.sh index 3b287d4d4..a9458c9a3 100755 --- a/src/scripts/starttask.sh +++ b/src/scripts/starttask.sh @@ -50,7 +50,7 @@ fi # DEBUG has to be hardcoded because it is not set in the tests. --setenv is required for ubuntu 16 (-E does not work) systemd-run --unit "${service_name}" --nice "${nice}" --uid=${id} --gid=${id} ${options} \ --setenv HOME=${HOME} --setenv USER=${SUDO_USER} --setenv DEBUG=box:* --setenv BOX_ENV=${BOX_ENV} --setenv NODE_ENV=production \ - "${task_worker}" --unhandled-rejections=strict "${task_id}" "${logfile}" + "${task_worker}" "${task_id}" "${logfile}" exit_code=$? if [[ "${ubuntu_version}" == "16.04" ]]; then