Some updates to Osal
This commit is contained in:
parent
19611e9fe7
commit
c7674a50bb
3 changed files with 18 additions and 36 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue