diff --git a/apps/files/command/scan.php b/apps/files/command/scan.php index 7cf401c7b5..87f799a018 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);