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'