mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: add message after checking Curl symbols: "all good" or number of errors
This commit is contained in:
@@ -269,6 +269,8 @@ def main() -> int:
|
||||
sys.exit("FATAL: failed to read Curl symbols on standard input")
|
||||
weechat_curl_symbols, errors = get_weechat_curl_symbols()
|
||||
errors += check_symbols(weechat_curl_symbols, curl_symbols)
|
||||
dict_err = {0: "all good!", 1: "1 error"}
|
||||
print("Curl symbols:", dict_err.get(errors, f"{errors} errors"))
|
||||
return errors
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user