1
0
Fork 0

Merge pull request #507 from yarda/tuned-adm-switch-profile-err-msg

tuned-adm: better error message for unauthorized switch_profile
This commit is contained in:
Jaroslav Škarvada 2023-02-17 21:44:39 +01:00 committed by GitHub
commit 7a04dd1e32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,7 +249,7 @@ class Admin(object):
self._error("Cannot enable the tuning.")
ret = False
else:
self._error(msg)
self._error("Unable to switch profile: %s" % msg)
return ret
def _action_dbus_wait_profile(self, profile_name):