parrot-blackbox 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/backup/snapshot.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parrot-blackbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "parrot-blackbox — crash-proof, multi-cloud backup & recovery automation for Parrot OS. Daily/weekly off-disk backups with automatic catch-up, smart storage across many MEGA + Google Drive accounts, Timeshift snapshot backups and one-command restore.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/cli.js",
|
package/src/backup/snapshot.js
CHANGED
|
@@ -197,7 +197,7 @@ export function snapshotDirFor(snapshot, { privileged = 'noninteractive' } = {})
|
|
|
197
197
|
|
|
198
198
|
// Get the device that contains the root filesystem
|
|
199
199
|
const deviceResult = execaSync('findmnt', ['-n', '-o', 'SOURCE', '/'], { reject: false });
|
|
200
|
-
const device = deviceResult.stdout.trim();
|
|
200
|
+
const device = deviceResult.stdout.trim().split('[')[0];
|
|
201
201
|
|
|
202
202
|
if (device && deviceResult.exitCode === 0) {
|
|
203
203
|
// Create temporary mount point
|