mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Improve error messages
This commit is contained in:
parent
07cb5b27eb
commit
fb3c4671f0
@ -152,7 +152,12 @@ def check_iptables_legacy():
|
||||
|
||||
if "legacy" in file_info_str:
|
||||
print(
|
||||
"iptables is in 'legacy' mode. This is not supported. Please switch to 'nftables' mode."
|
||||
"""
|
||||
iptables is in 'legacy' mode. This is not supported.
|
||||
|
||||
Please switch to 'nftables' mode, usualy by installing `iptables-nft` or `nftables`, consult your distribution manual.
|
||||
Or, use --ignore-iptables-legacy-check.
|
||||
"""
|
||||
)
|
||||
sys.exit(1)
|
||||
|
||||
@ -164,7 +169,12 @@ def check_iptables_legacy():
|
||||
|
||||
if "legacy" in file_info_str:
|
||||
print(
|
||||
"ip6tables is in 'legacy' mode. This is not supported. Please switch to 'nftables' mode."
|
||||
"""
|
||||
ip6tables is in 'legacy' mode. This is not supported.
|
||||
|
||||
Please switch to 'nftables' mode, usualy by installing `iptables-nft` or `nftables`, consult your distribution manual.
|
||||
Or, use --ignore-iptables-legacy-check.
|
||||
"""
|
||||
)
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user