mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-07-30 03:14:46 +00: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:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user