mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-01 03:31:37 +00:00
Error message update
This commit is contained in:
parent
da110c4e8e
commit
f178221aff
@ -791,7 +791,7 @@ bool DeleteImage(int fd, const PbCommand& command)
|
|||||||
filepath.SetPath(filename.c_str());
|
filepath.SetPath(filename.c_str());
|
||||||
if (FileSupport::GetIdsForReservedFile(filepath, id, unit)) {
|
if (FileSupport::GetIdsForReservedFile(filepath, id, unit)) {
|
||||||
ostringstream msg;
|
ostringstream msg;
|
||||||
msg << "Can't delete image file '" << filename << "', it is in use by device ID " << id << ", unit " << unit;
|
msg << "Can't delete image file '" << filename << "', it is used by device ID " << id << ", unit " << unit;
|
||||||
return ReturnStatus(fd, false, msg.str());
|
return ReturnStatus(fd, false, msg.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user