Some updates to Osal

This commit is contained in:
Ziver Koc 2013-12-19 19:57:06 +00:00
parent 19611e9fe7
commit c7674a50bb
3 changed files with 18 additions and 36 deletions

View file

@ -23,7 +23,6 @@
package zutil.osal;
import java.io.File;
import java.io.IOException;
/**
* User: ezivkoc
@ -47,7 +46,7 @@ public class OsalWindowsImpl extends OSAbstractionLayer {
@Override
public String getKernelVersion() {
try {
return runCommand("ver");
return getFirstLineFromCommand("ver");
} catch (Exception e) {
e.printStackTrace();
}