Updated rasctl server info message

This commit is contained in:
Uwe Seimet 2021-08-29 14:55:18 +02:00
parent 91fd46b65e
commit 5b9df8c1d5

View File

@ -315,7 +315,11 @@ void CommandServerInfo(const string& hostname, int port)
if (device.block_size()) {
cout << " " << device.block_size() << " BPS";
}
cout << (device.file().name().empty() ? "" : " " + device.file().name()) << endl;
cout << (device.file().name().empty() ? "" : " " + device.file().name());
if (device.properties().read_only() || device.status().protected_()) {
cout << " read-only";
}
cout <<endl;
}
}
}