Remove incompatible warning between touch and nagios mode

This commit is contained in:
Benjamin Renard 2013-11-05 11:07:15 +01:00 committed by root
parent f7801450b4
commit 618a5d7fff

View file

@ -139,9 +139,6 @@ if not options.basedn:
if options.touch and not options.attrs: if options.touch and not options.attrs:
logging.info('Force option attrs on touch mode') logging.info('Force option attrs on touch mode')
options.attrs=True options.attrs=True
elif options.touch and options.nagios:
logging.error('Touch mode and Nagios mode not compatible')
sys.exit(1)
excl_attrs=[] excl_attrs=[]
if options.excl_attrs: if options.excl_attrs: