mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Maybe better (experiment)
This commit is contained in:
parent
4a69d6f231
commit
a767e174a2
@ -560,9 +560,8 @@ int mainEntryClickHouseInstall(int argc, char ** argv)
|
||||
|
||||
/// Set up password for default user.
|
||||
|
||||
bool stdin_is_a_tty = isatty(STDIN_FILENO);
|
||||
bool stdout_is_a_tty = isatty(STDOUT_FILENO);
|
||||
bool is_interactive = stdin_is_a_tty && stdout_is_a_tty;
|
||||
bool is_interactive = stdout_is_a_tty;
|
||||
|
||||
if (has_password_for_default_user)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user