I still have no explanation for the return code being 0 when I run it, yet a 1 when almaconvert8 runs it.
There are two workarounds:
1. Stop all daemons using ports (systemctl stop sshd, for example) -- lsof -Pi returns nothing. This has not worked consistently for me.
2. Modify almaconvert8 so it no longer reports on ports by always returning an empty array:
sed -i '/def get_open_ports/a \ \ \ \ return []' /usr/bin/almaconvert8
[Updated on: Fri, 06 December 2024 17:19]
Report message to a moderator