From d89adce7606c742780b6eb62acd76b6a521b2856 Mon Sep 17 00:00:00 2001 From: Tom Lazar Date: Fri, 25 Jul 2014 14:33:24 +0200 Subject: [PATCH] FreeBSD 10 compatibility fix On FreeBSD the whitespace around the ``=`` triggers a (cryptic) ``no such file or directory`` error. removing the whitespace like above fixes this. --- system/sysctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/sysctl b/system/sysctl index ab1da5e0959..acf6395f071 100644 --- a/system/sysctl +++ b/system/sysctl @@ -285,7 +285,7 @@ class SysctlModule(object): self.fixed_lines.append(new_line) if self.args['name'] not in checked and self.args['state'] == "present": - new_line = "%s = %s\n" % (self.args['name'], self.args['value']) + new_line = "%s=%s\n" % (self.args['name'], self.args['value']) self.fixed_lines.append(new_line) # Completely rewrite the sysctl file