Fix typo
This commit is contained in:
parent
aabab30a4f
commit
c902f2da14
1 changed files with 3 additions and 2 deletions
|
@ -893,8 +893,9 @@ def main():
|
||||||
try:
|
try:
|
||||||
transfer_file(module, dest)
|
transfer_file(module, dest)
|
||||||
transfer_status = 'Sent'
|
transfer_status = 'Sent'
|
||||||
except Exception as e:
|
except ShellError:
|
||||||
module.fail_json(msg=str(e))
|
clie = get_exception()
|
||||||
|
module.fail_json(msg=str(clie))
|
||||||
|
|
||||||
if remote_file is None:
|
if remote_file is None:
|
||||||
remote_file = os.path.basename(local_file)
|
remote_file = os.path.basename(local_file)
|
||||||
|
|
Loading…
Reference in a new issue