diff --git a/files/file b/files/file index 22716935c8b..5fbb9ecc2dc 100644 --- a/files/file +++ b/files/file @@ -134,9 +134,9 @@ EXAMPLES = ''' def dolink(src, path, state, module): try: if state == 'hard': - os.link(src,path) + os.link(src,path) else: - os.symlink(src, path) + os.symlink(src, path) except OSError, e: module.fail_json(path=path, msg='Error while linking: %s' % str(e))