diff options
Diffstat (limited to 'apps/files/lib/Command/Get.php')
-rw-r--r-- | apps/files/lib/Command/Get.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Command/Get.php b/apps/files/lib/Command/Get.php index 2b6c43d792f..29edefa1cfb 100644 --- a/apps/files/lib/Command/Get.php +++ b/apps/files/lib/Command/Get.php @@ -68,7 +68,7 @@ class Get extends Command { return 1; } $source = $node->fopen('r'); - $target = (!$outputName || strtolower($outputName) === '-') ? STDOUT : fopen($outputName, 'w'); + $target = (!$outputName || $outputName === '-') ? STDOUT : fopen($outputName, 'w'); stream_copy_to_stream($source, $target); return 0; } else { |