Blame SOURCES/tuned-2.5.1-assignment-modifiers-strip-fix.patch

7b3f74
diff --git a/tuned/plugins/base.py b/tuned/plugins/base.py
7b3f74
--- a/tuned/plugins/base.py
7b3f74
+++ b/tuned/plugins/base.py
7b3f74
@@ -369,10 +369,12 @@ class Plugin(object):
7b3f74
 	def _process_assignment_modifiers(self, new_value, current_value):
7b3f74
 		if new_value is not None:
7b3f74
 			nws = str(new_value)
7b3f74
+			if len(nws) <= 1:
7b3f74
+				return new_value
7b3f74
 			op = nws[:1]
7b3f74
 			val = nws[1:]
7b3f74
 			if current_value is None:
7b3f74
-				return new_value
7b3f74
+				return val if op in ["<", ">"] else new_value
7b3f74
 			try:
7b3f74
 				if op == ">":
7b3f74
 					if int(val) > int(current_value):
7b3f74