mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
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
1ee7b3ab8c
commit
4fd9d2d4bb
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ final class PhabricatorStorageManagementDumpWorkflow
|
||||||
$file = fopen($output_file, 'wb');
|
$file = fopen($output_file, 'wb');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$file) {
|
if (($output_file !== null) && !$file) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
pht(
|
pht(
|
||||||
'Failed to open file "%s" for writing.',
|
'Failed to open file "%s" for writing.',
|
||||||
|
|
Loading…
Reference in a new issue