Hi, I believe we must follow POSIX way here [1].
May be a note saying that: sensible-editor may be used in recovering situation. Therefore it could be used in case where environment is unset (env -i) or where some filesystems are not fully initialised. In this case it should behave like vi under a POSIX system. Particularly TERM and HOME may be empty or unset. If sensible-editor could not be run in this borderline case it should fail return error 126 in order to fallback to safe default (vi) [1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html
signature.asc
Description: This is a digitally signed message part.