TERMMODE was used but not set in sxmo_modemtext.sh + sanity check for sxmo_terminal
(fixed the shellcheck problem) Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
parent
0b79710cb5
commit
eb34a970cb
2 changed files with 7 additions and 1 deletions
|
@ -11,4 +11,8 @@ else
|
|||
set -- st "$@"
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
if [ -z "$*" ]; then
|
||||
echo "sxmo_terminal.sh called in TERMMODE without any arguments (returning, nothing to do)" >&2
|
||||
else
|
||||
exec "$@"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue