summaryrefslogtreecommitdiffstats
path: root/console.php
diff options
context:
space:
mode:
authorhoellen <dev@hoellen.eu>2020-10-03 20:52:04 +0200
committerhoellen <dev@hoellen.eu>2020-10-06 13:03:08 +0200
commit0a02bf4fbb5c856f2f433da9ef12074b9c78440a (patch)
treeddccc034de3cbab09f145e09ea0ddb553d3326d7 /console.php
parent563f1318cdaf8681c4977fb32d7ea2441269aa1c (diff)
downloadnextcloud-server-0a02bf4fbb5c856f2f433da9ef12074b9c78440a.tar.gz
nextcloud-server-0a02bf4fbb5c856f2f433da9ef12074b9c78440a.zip
Adjust sudo command to UID instead of username
Signed-off-by: hoellen <dev@hoellen.eu>
Diffstat (limited to 'console.php')
-rw-r--r--console.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.php b/console.php
index 5f3bea427d9..c44c020d2de 100644
--- a/console.php
+++ b/console.php
@@ -70,7 +70,7 @@ try {
echo "Console has to be executed with the user that owns the file config/config.php" . PHP_EOL;
echo "Current user id: " . $user . PHP_EOL;
echo "Owner id of config.php: " . $configUser . PHP_EOL;
- echo "Try adding 'sudo -u " . $configUser . " ' to the beginning of the command (without the single quotes)" . PHP_EOL;
+ echo "Try adding 'sudo -u #" . $configUser . "' to the beginning of the command (without the single quotes)" . PHP_EOL;
echo "If running with 'docker exec' try adding the option '-u " . $configUser . "' to the docker command (without the single quotes)" . PHP_EOL;
exit(1);
}