Do not ignore mount failures on restore

This commit is contained in:
Johannes Zellner
2023-08-08 20:52:32 +02:00
parent e6c43c84e4
commit fb4921e2d3

View File

@@ -220,7 +220,7 @@ async function restore(backupConfig, remotePath, version, ipv4Config, options, a
mountOptions: backupConfig.mountOptions
};
await safe(mounts.tryAddMount(newMount, { timeout: 10 })); // 10 seconds
await mounts.tryAddMount(newMount, { timeout: 10 }); // 10 seconds
}
let error = await backups.testConfig(backupConfig);