mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
NOLINT for getenv
This commit is contained in:
parent
a99928d10a
commit
a8ceab1366
@ -170,7 +170,7 @@ int decompress(char * input, char * output, off_t start, off_t end, size_t max_n
|
|||||||
|
|
||||||
bool isSudo()
|
bool isSudo()
|
||||||
{
|
{
|
||||||
return getuid() == 0 && geteuid() == 0 && getenv("SUDO_USER") && getenv("SUDO_UID") && getenv("SUDO_GID");
|
return getuid() == 0 && geteuid() == 0 && getenv("SUDO_USER") && getenv("SUDO_UID") && getenv("SUDO_GID"); // NOLINT(concurrency-mt-unsafe)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Read data about files and decomrpess them.
|
/// Read data about files and decomrpess them.
|
||||||
|
Loading…
Reference in New Issue
Block a user