parent
f1db594e9f
commit
77f5472a53
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ def main():
|
|||
|
||||
params = module.params
|
||||
dest = os.path.expanduser(params['dest'])
|
||||
diff = dict()
|
||||
|
||||
if os.path.isdir(dest):
|
||||
module.fail_json(rc=256, msg='Destination %s is a directory !' % dest)
|
||||
|
|
Loading…
Reference in a new issue