[update-cron] Fix bash call
This commit is contained in:
parent
63667aff23
commit
dcb3334d0b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue