dryrun and set states for new drives

This commit is contained in:
2020-08-26 15:07:53 +02:00
parent f39fbfbd54
commit 424218bb23
4 changed files with 37 additions and 22 deletions

View File

@ -223,6 +223,7 @@ void reHDD::searchDrives(vector <Drive>* pvecDrives)
if (string(cLine).find("/dev/sd") != string::npos)
{
Drive* tmpDrive = new Drive(string(cLine).substr (2,8));
tmpDrive->state = Drive::NONE;
pvecDrives->push_back(*tmpDrive);
}
}