Fixed logic issue
parent
1ee2f28797
commit
9e9f55ee44
|
@ -172,7 +172,7 @@ def cli_parser():
|
|||
sys.exit()
|
||||
|
||||
# If using FTP, check to make sure a username and pass is provided
|
||||
if args.ftp or args.ftp_server and (
|
||||
if (args.ftp or args.ftp_server) and (
|
||||
args.password is None or args.username is None):
|
||||
print "[*] Error: FTP Server requires a username and password!"
|
||||
print "[*] Error: Please re-run and provide the required info!"
|
||||
|
|
Loading…
Reference in New Issue