summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dsimple.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dsimple.c b/dsimple.c
index c84ac3b..95fcf88 100644
--- a/dsimple.c
+++ b/dsimple.c
@@ -188,8 +188,7 @@ char *display_name;
if (d == NULL) {
fprintf (stderr, "%s: unable to open display '%s'\n",
program_name, XDisplayName (display_name));
- usage ();
- /* doesn't return */
+ exit(1);
}
return(d);