bindplane-agent
bindplane-agent copied to clipboard
fix: install_unix.sh breaks with status code 2 in non-interactive environments
Proposed Change
The script "install_unix.sh" was not working in non-interactive shells, because there are tools used (stty and tput) for which a connected tty is mandatory. This is being fixed by a sh-compliant way of checking if the $-
contains the i
-flag.
Checklist
- [x] Changes are tested
- [x] CI has passed