From 1e06994a59e30be114253d6e7600a8dad69d67ff Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 15 Feb 2013 09:38:30 +0000 Subject: [PATCH] * auto-disable xattr features when in test mode --- source/net/sourceforge/filebot/Main.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/Main.java b/source/net/sourceforge/filebot/Main.java index 7afa6d7f..41971652 100644 --- a/source/net/sourceforge/filebot/Main.java +++ b/source/net/sourceforge/filebot/Main.java @@ -119,7 +119,11 @@ public class Main { if (args.unixfs) { System.setProperty("unixfs", "true"); } - if (args.disableAnalytics || args.action.equalsIgnoreCase("test")) { + if (args.disableAnalytics) { + System.setProperty("application.analytics", "false"); + } + if (args.action.equalsIgnoreCase("test")) { + System.setProperty("useExtendedFileAttributes", "false"); System.setProperty("application.analytics", "false"); }