Skip to content

Commit 83f4903

Browse files
danepowellgreg-1-anderson
authored andcommitted
sql:sync shouldn't crash due to leftover files. (#4011)
1 parent ee2a41b commit 83f4903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sql/SqlBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public function alwaysQuery($query, $input_file = null, $result_file = '')
308308
{
309309
$input_file_original = $input_file;
310310
if ($input_file && drush_file_is_tarball($input_file)) {
311-
$process = Drush::process(['gzip', '-d', $input_file]);
311+
$process = Drush::process(['gzip', '-df', $input_file]);
312312
$process->setSimulated(false);
313313
$process->run();
314314
$this->setProcess($process);

0 commit comments

Comments
 (0)