summaryrefslogtreecommitdiff
path: root/lib/cmap
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-11-02 08:29:05 -0800
committerOri Bernstein <ori@eigenstate.org>2020-11-02 08:29:05 -0800
commit33fb16c9fe7744aae8736bb4b48ba4e0f505eafc (patch)
tree56dd2e6224f0ed16674cd128a521aa515896f9a2 /lib/cmap
parentf4d206737342feec31086a8f3ca6866506a2e0b5 (diff)
downloadplan9front-33fb16c9fe7744aae8736bb4b48ba4e0f505eafc.tar.xz
profile: don't create $wsys if it doesn't exist
When $wsys doesn't exist (eg, drawterm -G, or rcpu from a text console), the profile would create an empty $wsys variable, and sessions started in this environment would fail with a null list in concatenation. This change tests if /mnt/term/env/wsys exists before assigning it.
Diffstat (limited to 'lib/cmap')
0 files changed, 0 insertions, 0 deletions