summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop/src/rmd.c')
-rw-r--r--recordmydesktop/src/rmd.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/recordmydesktop/src/rmd.c b/recordmydesktop/src/rmd.c
index bb513a2..98b3862 100644
--- a/recordmydesktop/src/rmd.c
+++ b/recordmydesktop/src/rmd.c
@@ -28,15 +28,16 @@
#include "rmd_types.h"
+#include "rmd_cache.h"
#include "rmd_encode_cache.h"
+#include "rmd_error.h"
#include "rmd_initialize_data.h"
#include "rmd_parseargs.h"
#include "rmd_queryextensions.h"
-#include "rmd_cache.h"
-#include "rmd_error.h"
-#include "rmd_threads.h"
+#include "rmd_rescue.h"
#include "rmd_setbrwindow.h"
#include "rmd_shortcuts.h"
+#include "rmd_threads.h"
#include "rmd_wm_check.h"
@@ -49,6 +50,9 @@ int main(int argc,char **argv){
if (!ParseArgs(argc, argv, &pdata.args)) {
exit(1);
}
+ if (pdata.args.rescue_path != NULL) {
+ exit(rmdRescue(pdata.args.rescue_path));
+ }
if(XInitThreads ()==0){
fprintf(stderr,"Couldn't initialize thread support!\n");
exit(7);
© All Rights Reserved