properly print out daemon check message on SNAP

This commit is contained in:
Adnan Hodzic 2020-09-13 20:58:41 +02:00
parent 5f38dfd7b6
commit eff53d4d2e

View File

@ -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")