summaryrefslogtreecommitdiff
path: root/src/rmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rmd.c')
-rw-r--r--src/rmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rmd.c b/src/rmd.c
index 64addd4..b3a1af2 100644
--- a/src/rmd.c
+++ b/src/rmd.c
@@ -150,7 +150,8 @@ int main(int argc, char **argv)
}
//this is where the capturing happens.
- rmdThreads(&pdata);
+ if (rmdThreads(&pdata))
+ return 1;
XCloseDisplay(pdata.dpy);
fprintf(stderr, ".\n");
© All Rights Reserved