use nfs.getUnreachableMessage()
This commit is contained in:
parent
08cb512ad1
commit
6a1f299636
|
@ -96,8 +96,7 @@ public class Df extends SigarCommandBase {
|
||||||
if (fs instanceof NfsFileSystem) {
|
if (fs instanceof NfsFileSystem) {
|
||||||
NfsFileSystem nfs = (NfsFileSystem)fs;
|
NfsFileSystem nfs = (NfsFileSystem)fs;
|
||||||
if (!nfs.ping()) {
|
if (!nfs.ping()) {
|
||||||
println(fs.getDevName() +
|
println(nfs.getUnreachableMessage());
|
||||||
" !!! nfs server is down !!!");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue