[update-cron] Fix bash call

This commit is contained in:
Starbeamrainbowlabs 2019-08-09 23:48:00 +01:00
parent 63667aff23
commit dcb3334d0b
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -157,7 +157,7 @@ task_update-cron() {
tmpfile="$(mktemp --suffix ".aptosaurus.log")"; tmpfile="$(mktemp --suffix ".aptosaurus.log")";
set +e; set +e;
bash "./aptosaurus.sh update" | ansi_strip >"${tmpfile}"; bash ./aptosaurus.sh update | ansi_strip >"${tmpfile}";
exit_code="${0}"; exit_code="${0}";
if [[ "${exit_code}" -ne 0 ]]; then if [[ "${exit_code}" -ne 0 ]]; then