From 043815a6e68bb9ef0eb361a4678e11886285f52b Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 2 Apr 2012 20:08:40 -0400 Subject: [PATCH] Fix syntax error in user patch --- file | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file b/file index 6e44ebe2044..5e47583a17d 100755 --- a/file +++ b/file @@ -97,10 +97,10 @@ secontext = params.get('secontext', None) if state not in [ 'file', 'directory', 'link', 'absent']: fail_json(msg='invalid state: %s' % state) -if state = 'link' and (src is None or dest is None): +if state == 'link' and (src is None or dest is None): fail_json(msg='src and dest are required for "link" state') elif path is None: - fail_json(msg='path is required for "%s" state' % state) + fail_json(msg='path is required') changed = False