From 2366654c26ed5e11639de18f79967dff79e4084f Mon Sep 17 00:00:00 2001 From: lessmian Date: Tue, 19 Feb 2013 15:45:08 +0100 Subject: [PATCH] sysctl module: fixed issue when checks_after fail on comparing keys with values separated by white strings --- sysctl | 1 + 1 file changed, 1 insertion(+) diff --git a/sysctl b/sysctl index c1f34f4f808..9b2cbebfa51 100644 --- a/sysctl +++ b/sysctl @@ -189,6 +189,7 @@ def sysctl_check(current_step, **sysctl_args): output = f.read() f.close() output = output.strip(' \t\n\r') + output = re.sub(r'\s+', ' ', output) # multi positive integer values separated by spaces as described in issue #2004 : if re.search('^([\d\s]+)$', sysctl_args['value']):