+

Fixed error in replace touch feature

Benjamin Renard [2013-12-20 09:07:17]
Fixed error in replace touch feature
Filename
check_syncrepl_extended
diff --git a/check_syncrepl_extended b/check_syncrepl_extended
index 4f397c6..043dd1f 100755
--- a/check_syncrepl_extended
+++ b/check_syncrepl_extended
@@ -240,7 +240,7 @@ class LdapServer(object):

 	def touch_object(self,dn,attr,orig_value):
 		if options.replacetouch:
-			new_value=[new_value]
+			new_value=[TOUCH_VALUE]
 		else:
 			new_value=list(orig_value)
 			new_value.append(TOUCH_VALUE)
ViewGit