diff --git a/src/raspberrypi/rasctl.cpp b/src/raspberrypi/rasctl.cpp index 0ab45b0e..99b6beff 100644 --- a/src/raspberrypi/rasctl.cpp +++ b/src/raspberrypi/rasctl.cpp @@ -259,10 +259,7 @@ void CommandServerInfo(const string& hostname, int port) block_sizes.push_back(properties.block_sizes(k)); } - if (block_sizes.empty()) { - cout << " Block size is not configurable" << endl; - } - else { + if (!block_sizes.empty()) { block_sizes.sort([](const int& a, const int& b) { return a < b; }); cout << " Configurable block sizes: ";