dzl před 2 roky
rodič
revize
fcc1f3437d

+ 9 - 1
common/src/main/java/com/behosoft/cluster/utils/UniqueKeyUtils.java

@@ -154,7 +154,15 @@ public class UniqueKeyUtils implements ListenerEvent, SchedulerService {
 			filePath = FILE_NAME;
 		}
 		else {
-			filePath += "\\" + FILE_NAME;
+			String os = System.getProperty("os.name");
+			if (os.indexOf("linux") >= 0)
+			{
+				filePath += "\\" + FILE_NAME;
+			}
+			else
+			{
+				filePath += "/" + FILE_NAME;
+			}
 		}
 		return filePath;
 	}