mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 01:50:55 +01:00
(stable) Fix "bin/storage dump" with no "--output"
Ref T13004. (I distinctly remember testing this, but must have tweaked things afterward.)
This commit is contained in:
parent
0361591da0
commit
8edd04aff3
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ final class PhabricatorStorageManagementDumpWorkflow
|
|||
$file = fopen($output_file, 'wb');
|
||||
}
|
||||
|
||||
if (!$file) {
|
||||
if (($output_file !== null) && !$file) {
|
||||
throw new Exception(
|
||||
pht(
|
||||
'Failed to open file "%s" for writing.',
|
||||
|
|
Loading…
Reference in a new issue