diff --git a/src/tests/apps/partitioner/Partitioner.cpp b/src/tests/apps/partitioner/Partitioner.cpp index 7ce8bc8196..bda82adfc1 100644 --- a/src/tests/apps/partitioner/Partitioner.cpp +++ b/src/tests/apps/partitioner/Partitioner.cpp @@ -549,6 +549,7 @@ private: // if the disk device has no children, we select it without asking if (fDevice->CountChildren() == 0) { partition = fDevice; + _partitionIndex = 0; return true; }