mirror of
https://git.elrant.team/irisnk/IHNMAYIML.git
synced 2024-12-04 22:36:30 +03:00
aaa
This commit is contained in:
parent
2c325e9cdb
commit
dcd54c3807
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@ def check_boot_errors():
|
||||||
result = subprocess.run(["dmesg"], capture_output=True, text=True)
|
result = subprocess.run(["dmesg"], capture_output=True, text=True)
|
||||||
errors = result.stdout.lower().count("error")
|
errors = result.stdout.lower().count("error")
|
||||||
if errors > 30:
|
if errors > 30:
|
||||||
log_message("Last boot has had more than 30 errors,, :( (according to dmesg)" + environ.get("BOT_OWNER") + " please check the logs!")
|
log_message("Last boot has had more than 30 errors,, :c (according to dmesg)" + environ.get("BOT_OWNER") + " please check the logs!")
|
||||||
|
|
Loading…
Reference in a new issue