Only one thing can come from the agent

This commit is contained in:
Funs 2015-03-27 11:19:16 +01:00
parent d0e25d96fb
commit e7d7643dd7

View File

@ -434,7 +434,7 @@ public class Xen extends OvmObject {
throw new Ovm3ResourceException("No valid disk found for id: "
+ disk);
}
String[] st = diskPath.split("/"Char == '\\' ? "\\\\" : "/");
String[] st = diskPath.split("/");
return st[fi];
}