From eff53d4d2e871614b67cb12e6fe0c6e920812187 Mon Sep 17 00:00:00 2001 From: Adnan Hodzic Date: Sun, 13 Sep 2020 20:58:41 +0200 Subject: [PATCH] properly print out daemon check message on SNAP --- source/core.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/core.py b/source/core.py index 181a7be..11ddaf2 100644 --- a/source/core.py +++ b/source/core.py @@ -173,9 +173,12 @@ def cpufreqctl_restore(): def footer(l=79): print("\n" + "-" * l + "\n") + def daemon_not_found(): print("\n" + "-" * 32 + " Daemon check " + "-" * 33 + "\n") - sys.exit("ERROR:\n\nDaemon not enabled, must run install first, i.e: \nsudo auto-cpufreq --install") + print("ERROR:\n\nDaemon not enabled, must run install first, i.e: \nsudo auto-cpufreq --install") + footer() + def deploy_complete_msg(): print("\n" + "-" * 17 + " auto-cpufreq daemon installed and running " + "-" * 17 + "\n")