forked from localhorst/reHDD
dryrun and set states for new drives
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user