Skip to content

Commit

Permalink
Merge pull request #507 from yarda/tuned-adm-switch-profile-err-msg
Browse files Browse the repository at this point in the history
tuned-adm: better error message for unauthorized switch_profile
  • Loading branch information
yarda authored Feb 17, 2023
2 parents a02af92 + e4bbbf0 commit 7a04dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuned/admin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _profile_print_status(self, ret, msg):
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):
Expand Down

0 comments on commit 7a04dd1

Please sign in to comment.