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:
commit
7a04dd1e32
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue