This commit is contained in:
Christopher Schnick 2022-12-27 11:16:53 +01:00
parent 27732bec35
commit 72b96e8b80

View file

@ -66,7 +66,7 @@ public class XPipeInstallation {
public static String getLocalDefaultInstallationBasePath(boolean acceptCustomHome) {
var customHome = System.getenv("XPIPE_HOME");
if (!customHome.isEmpty() && acceptCustomHome) {
if (customHome != null && !customHome.isEmpty() && acceptCustomHome) {
return customHome;
}