aboutsummaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorHerman van Rink <rink@initfour.nl>2024-03-08 19:50:11 +0100
committerHerman van Rink <rink@initfour.nl>2024-03-13 11:05:23 +0100
commit164c05e40bea328a0d9da3f34ca46130f214e6e4 (patch)
treef592e403c589c4660e91d8a4eb3c76aed1bc67a6 /cron.php
parent007731d2f3d571e6674028351a1ed17a1d441c2e (diff)
downloadnextcloud-server-164c05e40bea328a0d9da3f34ca46130f214e6e4.tar.gz
nextcloud-server-164c05e40bea328a0d9da3f34ca46130f214e6e4.zip
fix: Cron misrepresenting itself as console
Signed-off-by: Herman van Rink <rink@initfour.nl>
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php2
1 files changed, 1 insertions, 1 deletions
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);