Skip to content

Commit eb224c8

Browse files
committed
fix: Cron misrepresenting itself as console
1 parent 007731d commit eb224c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
$user = posix_getuid();
118118
$dataDirectoryUser = fileowner($config->getSystemValueString('datadirectory', \OC::$SERVERROOT . '/data'));
119119
if ($user !== $dataDirectoryUser) {
120-
echo "Console has to be executed with the user that owns the data directory" . PHP_EOL;
120+
echo "Cron has to be executed with the user that owns the data directory" . PHP_EOL;
121121
echo "Current user id: " . $user . PHP_EOL;
122122
echo "Owner id of the data directory: " . $dataDirectoryUser . PHP_EOL;
123123
exit(1);

0 commit comments

Comments
 (0)