Don't add hardfile if no HDF was detected
This commit is contained in:
parent
6dbfa038b6
commit
450601c889
1 changed files with 0 additions and 2 deletions
|
@ -620,8 +620,6 @@ bool EditFilesysHardfile(const int unit_no)
|
|||
const auto hfd = get_hardfile_data(uci->configoffset);
|
||||
if (hfd)
|
||||
hardfile_media_change(hfd, &ci, true, false);
|
||||
else
|
||||
hardfile_added(&ci);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue