mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
Fix exit code in CI entrypoint to address shellckeck issue
- Fixes #301 Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
parent
a8fcc028c0
commit
cd04f5a092
2 changed files with 4 additions and 1 deletions
3
changelogs/fragments/302_shippable_exit_code.yml
Normal file
3
changelogs/fragments/302_shippable_exit_code.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
trivial:
|
||||||
|
- CI tests - fix exit code to address shellckeck test issue (https://github.com/ansible-collections/ansible.posix/issues/301).
|
||||||
|
|
@ -50,7 +50,7 @@ function retry
|
||||||
echo "@* -> ${result}"
|
echo "@* -> ${result}"
|
||||||
done
|
done
|
||||||
echo "Command '@*' failed 3 times!"
|
echo "Command '@*' failed 3 times!"
|
||||||
exit -1
|
exit 255
|
||||||
}
|
}
|
||||||
|
|
||||||
command -v pip
|
command -v pip
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue