mirror of
https://github.com/akuker/RASCSI.git
synced 2025-07-18 20:24:22 +00:00
Comment update
This commit is contained in:
@@ -756,11 +756,11 @@ bool ProcessCmd(int fd, const PbDeviceDefinition& pbDevice, const PbOperation cm
|
|||||||
files_in_use.insert(filepath.GetPath());
|
files_in_use.insert(filepath.GetPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Stop the dry run here, before permanently modifying something
|
||||||
if (dryRun) {
|
if (dryRun) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize everything that would have caused issues when being initialized during the dry run
|
|
||||||
if (!device->Init(pbDevice.params())) {
|
if (!device->Init(pbDevice.params())) {
|
||||||
error << "Initialization of " << device->GetType() << " device, ID: " << id << ", unit: " << unit << " failed";
|
error << "Initialization of " << device->GetType() << " device, ID: " << id << ", unit: " << unit << " failed";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user