summaryrefslogtreecommitdiff
path: root/bin/debvm-run
diff options
context:
space:
mode:
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-xbin/debvm-run2
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