aboutsummaryrefslogtreecommitdiff
path: root/src/sman
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-06-25 05:03:44 +0000
committerdos-reis <gdr@axiomatics.org>2011-06-25 05:03:44 +0000
commit4ef6ebebbdce867398e7f8dcddf26ee12c9869ab (patch)
treed355f8b6372956c1f1e80f0933bead352335d82e /src/sman
parentb482b8dde1493be19a01c6a53cf5e9e17510d7a8 (diff)
downloadopen-axiom-4ef6ebebbdce867398e7f8dcddf26ee12c9869ab.tar.gz
* sman/sman.c (main): Don't start the graphics and no X11 server
is running.
Diffstat (limited to 'src/sman')
-rw-r--r--src/sman/sman.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sman/sman.c b/src/sman/sman.c
index 048b7cd2..58f365e8 100644
--- a/src/sman/sman.c
+++ b/src/sman/sman.c
@@ -777,7 +777,8 @@ main(int argc, char *argv[])
if (start_spadclient) start_the_spadclient();
if (start_local_spadclient) start_the_local_spadclient();
if (start_ht) start_the_hypertex();
- if (start_graphics) start_the_graphics();
+ if (start_graphics and is_X())
+ start_the_graphics();
openaxiom_sleep(1);
if (fork_you(Die) != NULL) {