1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-10 11:25:04 -05:00

* auto-disable xattr features when in test mode

This commit is contained in:
Reinhard Pointner 2013-02-15 09:38:30 +00:00
parent fa55b68360
commit 1e06994a59

View File

@ -119,7 +119,11 @@ public class Main {
if (args.unixfs) { if (args.unixfs) {
System.setProperty("unixfs", "true"); 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"); System.setProperty("application.analytics", "false");
} }