diff options
author | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2023-06-24 09:05:30 +0200 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2023-06-24 09:05:30 +0200 |
commit | ab52e6cbdd09fe37c40cf0e136a2e79bdc32d12f (patch) | |
tree | a0a0d445ff535ba5d9301cee4b74a176b6163747 /bin | |
parent | c7325e9f97142c418997721579ad943445b3bba2 (diff) | |
download | debvm-ab52e6cbdd09fe37c40cf0e136a2e79bdc32d12f.tar.gz |
bin/debvm-run: allow being run in environments without TERM set
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/debvm-run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/debvm-run b/bin/debvm-run index bba0c15..044cec0 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -456,7 +456,7 @@ if test -z "$GRAPHICAL"; then KERNEL_CMDLINE="${KERNEL_CMDLINE:+"$KERNEL_CMDLINE "}console=ttyS0" ;; esac - if test -t 0 && test -t 1 && test -n "$TERM"; then + if test -t 0 && test -t 1 && test -n "${TERM:-}"; then KERNEL_CMDLINE="${KERNEL_CMDLINE:+"$KERNEL_CMDLINE "}TERM=$TERM" fi else |