src/strip.vala
[app.mailtrimmer] / src / strip.vala
index 429c161..4d25330 100644 (file)
@@ -144,7 +144,7 @@ public class StripApplication : GLib.Application {
  
                            
              // options that have to be set.. bee or hive... (or stop all)
-            if ((!opt_scan_mailfort && !opt_scan_imap) || (opt_scan_mailfort && opt_scan_imap))  {
+            if ((!opt_scan_mailfort && !opt_scan_maildir) || (opt_scan_mailfort && opt_scan_maildir))  {
                stdout.printf ("You must specify the type of directory tree to scan - either imap or mailfort\n%s",
                    opt_context.get_help(true, null));
                GLib.Process.exit(Posix.EXIT_FAILURE);