From 10a33f30bdadbd72e292845a0b88c04fba20d7c8 Mon Sep 17 00:00:00 2001 From: DrillSergeant Date: Mon, 10 Jan 2022 08:10:41 +0100 Subject: [PATCH] Preserve Data\Persistent folder --- Classes/Command/StashCommandController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Command/StashCommandController.php b/Classes/Command/StashCommandController.php index 90a5993..59203fe 100644 --- a/Classes/Command/StashCommandController.php +++ b/Classes/Command/StashCommandController.php @@ -370,7 +370,7 @@ protected function restoreStashEntry($source, $name, $force = false, $preserve = $this->renderHeadLine('Restore Persistent Resources'); $this->executeLocalShellCommand( - 'rm -rf %s && cp -al %s %1$s', + 'rm -rf %s/* && cp -al %s/* %1$s', [ FLOW_PATH_ROOT . 'Data/Persistent', $source . '/persistent'