aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/command/scan.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/command/scan.php')
-rw-r--r--apps/files/command/scan.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/command/scan.php b/apps/files/command/scan.php
index 7cf401c7b59..87f799a0187 100644
--- a/apps/files/command/scan.php
+++ b/apps/files/command/scan.php
@@ -77,7 +77,7 @@ class Scan extends Command {
protected function execute(InputInterface $input, OutputInterface $output) {
$path = $input->getOption('path');
- if ($path !== false) {
+ if ($path) {
$path = '/'.trim($path, '/');
list (, $user, ) = explode('/', $path, 3);
$users = array($user);