diff options
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/9term.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index ec54ca3f..1610d0d4 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -90,7 +90,9 @@ threadmain(int argc, char *argv[]) startdir = "."; - initdraw(derror, fontname, "9term"); + if(initdraw(derror, fontname, "9term") < 0) + sysfatal("initdraw: %r"); + notify(hangupnote); noteenable("sys: child"); |