Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhoellen <dev@hoellen.eu>2020-10-03 21:52:04 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-10-15 14:35:21 +0300
commit020115418301adb8986e1e5ff233bc9e85e2534f (patch)
tree496f6c8ede7372442aab4761ae7061dd4aa39ccf /console.php
parent6e3513aa89139fa2ef0bb5356c2bc1d90a604f32 (diff)
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);
}