change fail-reset to reset

This commit is contained in:
JerryXiao 2021-04-30 10:01:49 +08:00
parent 7612942d29
commit 54a8deb744
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5

View file

@ -281,7 +281,7 @@ def main() -> None:
logger.error('you need to be root') logger.error('you need to be root')
exit(1) exit(1)
if prev_err := has_previous_error(): if prev_err := has_previous_error():
logger.error(f'Cannot continue, a previous error {prev_err} is still present. Please resolve this issue and run fail-reset.') logger.error(f'Cannot continue, a previous error {prev_err} is still present. Please resolve this issue and run reset.')
exit(2) exit(2)
if SYSTEMD: if SYSTEMD:
if _s := is_system_failed(): if _s := is_system_failed():