From e3c1c333f0ff1658e2dc9f9699d0f818599199b7 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 9 Aug 2019 10:33:11 +0200 Subject: [PATCH] Modification to unpacking volume backup Change-type: patch Signed-off-by: Cameron Diver --- src/device-state.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device-state.coffee b/src/device-state.coffee index fb0350c0..4279d8b3 100644 --- a/src/device-state.coffee +++ b/src/device-state.coffee @@ -434,7 +434,7 @@ module.exports = class DeviceState extends EventEmitter .then -> mkdirp(backupPath) .then -> - execAsync("tar -xzf backup.tgz -C #{backupPath} .", cwd: path.join(constants.rootMountPoint, 'mnt/data')) + execAsync("tar -xzf backup.tgz -C #{backupPath}", cwd: path.join(constants.rootMountPoint, 'mnt/data')) .then -> fs.readdirAsync(backupPath) .then (dirContents) =>