ARTEMIS-2026 don't override 'java.io.tmpdir' if set
This commit is contained in:
parent
46a592e887
commit
9c9d4de231
|
@ -112,7 +112,7 @@ public class Artemis {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fileInstance != null) {
|
if (System.getProperty("java.io.tmpdir") == null && fileInstance != null) {
|
||||||
System.setProperty("java.io.tmpdir", new File(fileInstance, "tmp").getCanonicalPath());
|
System.setProperty("java.io.tmpdir", new File(fileInstance, "tmp").getCanonicalPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue