The maas-cli script is:
#!/bin/sh exec python -m maascli "$@"
The original $0 gets lost.
A fix might be to change this script to:
#!/usr/bin/python from maascli import main main()
The maas-cli script is:
#!/bin/sh
exec python -m maascli "$@"
The original $0 gets lost.
A fix might be to change this script to:
#!/usr/bin/python
from maascli import main
main()