1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04: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) {
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");
}