+

Remove incompatible warning between touch and nagios mode

Benjamin Renard [2013-11-05 10:07:15]
Remove incompatible warning between touch and nagios mode
Filename
check_syncrepl_extended
diff --git a/check_syncrepl_extended b/check_syncrepl_extended
index 3a7207f..d7a4a27 100755
--- a/check_syncrepl_extended
+++ b/check_syncrepl_extended
@@ -139,9 +139,6 @@ if not options.basedn:
 if options.touch and not options.attrs:
 	logging.info('Force option attrs on touch mode')
 	options.attrs=True
-elif options.touch and options.nagios:
-	logging.error('Touch mode and Nagios mode not compatible')
-	sys.exit(1)

 excl_attrs=[]
 if options.excl_attrs:
ViewGit