From 020115418301adb8986e1e5ff233bc9e85e2534f Mon Sep 17 00:00:00 2001 From: hoellen Date: Sat, 3 Oct 2020 20:52:04 +0200 Subject: [PATCH] Adjust sudo command to UID instead of username Signed-off-by: hoellen --- console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }