Skip to content

Commit b4fd0b9

Browse files
committed
MCLOUD-8945: Incorrect rm -rf command is executed when backup is removed
1 parent eed2a6b commit b4fd0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB/DumpGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function create(
142142
flock($lockFileHandle, LOCK_UN);
143143
} catch (ShellException $exception) {
144144
if (file_exists($dumpFile)) {
145-
$this->shell->execute('rm -rf' . $dumpFile);
145+
$this->shell->execute('rm -rf ' . $dumpFile);
146146
}
147147
throw $exception;
148148
} finally {

0 commit comments

Comments
 (0)