mirror of https://github.com/akuker/RASCSI.git
Remove limitation on the location of the images dir, except for the file system root, #1172
This commit is contained in:
parent
4580dd222e
commit
493d2c17f5
|
@ -71,8 +71,8 @@ string PiscsiImage::SetDefaultFolder(const string& f)
|
|||
folder = GetHomeDir() + "/" + folder;
|
||||
}
|
||||
else {
|
||||
if (folder.find("/home/") != 0) {
|
||||
return "Default image folder must be located in '/home/'";
|
||||
if (folder == "/") {
|
||||
return "Default image folder cannot be '/'";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue