diff options
author | hoellen <dev@hoellen.eu> | 2020-10-03 20:52:04 +0200 |
---|---|---|
committer | hoellen <dev@hoellen.eu> | 2020-10-06 13:03:08 +0200 |
commit | 0a02bf4fbb5c856f2f433da9ef12074b9c78440a (patch) | |
tree | ddccc034de3cbab09f145e09ea0ddb553d3326d7 /console.php | |
parent | 563f1318cdaf8681c4977fb32d7ea2441269aa1c (diff) | |
download | nextcloud-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.php | 2 |
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); } |