diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-29 09:31:19 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-29 09:31:19 +0200 |
commit | fa6cb494ed3f5563a0d6feb1e0c41d4929b8a95d (patch) | |
tree | f7675576438adb9816f41db50bcbf7893627782d | |
parent | 416ef1eb62903ba413c62b493e775d7700a5e05a (diff) | |
parent | 47ddd1794bd9e5fa99e25b55513d1cc714583038 (diff) | |
download | nextcloud-server-fa6cb494ed3f5563a0d6feb1e0c41d4929b8a95d.tar.gz nextcloud-server-fa6cb494ed3f5563a0d6feb1e0c41d4929b8a95d.zip |
Merge pull request #15922 from JostBaron/patch-1
Fix error message when wrong user on console
-rw-r--r-- | console.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console.php b/console.php index 3da87b75c8e..2e55accab21 100644 --- a/console.php +++ b/console.php @@ -47,9 +47,9 @@ try { $user = posix_getpwuid(posix_getuid()); $configUser = posix_getpwuid(fileowner(OC::$SERVERROOT . '/config/config.php')); if ($user['name'] !== $configUser['name']) { - echo "Console has to be executed with the same user as the web server is operated" . PHP_EOL; + echo "Console has to be executed with the user that owns the file config/config.php" . PHP_EOL; echo "Current user: " . $user['name'] . PHP_EOL; - echo "Web server user: " . $configUser['name'] . PHP_EOL; + echo "Owner of config.php: " . $configUser['name'] . PHP_EOL; exit(0); } } |