Handle not having graphics better. [rsc] --rw-rw-r-- M 1428987 rsc sys 6066 Jan 28 09:54 sys/src/cmd/aux/statusbar.c /n/sourcesdump/2006/0128/plan9/sys/src/cmd/aux/statusbar.c:200,211 - /n/sourcesdump/2006/0129/plan9/sys/src/cmd/aux/statusbar.c:200,214 textmode = 1; rbar = Rect(0, 0, 60, 1); }else{ - initdraw(0, 0, "bar"); + if(initdraw(0, 0, "bar") < 0) + exits("initdraw"); initcolor(); einit(Emouse|Ekeyboard); eresized(0); } bar(&b); + + exits(0); }