From 164c05e40bea328a0d9da3f34ca46130f214e6e4 Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Fri, 8 Mar 2024 19:50:11 +0100 Subject: [PATCH] fix: Cron misrepresenting itself as console Signed-off-by: Herman van Rink --- cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.php b/cron.php index 117317c2fc4..e39c998ad5d 100644 --- a/cron.php +++ b/cron.php @@ -117,7 +117,7 @@ try { $user = posix_getuid(); $dataDirectoryUser = fileowner($config->getSystemValueString('datadirectory', \OC::$SERVERROOT . '/data')); if ($user !== $dataDirectoryUser) { - echo "Console has to be executed with the user that owns the data directory" . PHP_EOL; + echo "Cron has to be executed with the user that owns the data directory" . PHP_EOL; echo "Current user id: " . $user . PHP_EOL; echo "Owner id of the data directory: " . $dataDirectoryUser . PHP_EOL; exit(1);