minor fixes

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen
2022-05-12 11:15:16 -06:00
parent 47d18084ba
commit fc581fa6d0
3 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ class Mount {
return false;
}
const mount_info = await mount.getMountDetails(path);
const is_block = filesystem.isBlockDevice(path);
const is_block = await filesystem.isBlockDevice(path);
if (mount_info.fstype == "devtmpfs" && is_block) {
return true;
}