mirror of
https://github.com/logos-storage/logos-storage-installer.git
synced 2026-01-03 14:03:08 +00:00
attempting to fix mount detection
This commit is contained in:
parent
c76cd357ca
commit
df9569314f
@ -11,7 +11,12 @@ export class FsService {
|
||||
val.volumes.forEach(function (volume) {
|
||||
const mount = volume.mountPoint;
|
||||
if (mount != null && mount != undefined && mount.length > 0) {
|
||||
mountPoints.push(volume.mountPoint);
|
||||
try {
|
||||
if (!fs.lstatSync(mount).isFile()) {
|
||||
mountPoints.push(mount);
|
||||
}
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user