added code that just exit if no args passed

This commit is contained in:
Mo Langning
2023-11-25 00:32:04 +08:00
parent a4df7ab34a
commit a3ef749d1d
+3
View File
@@ -7,6 +7,9 @@ import sys
print("[+] New line check")
if not sys.argv[1]:
exit(0)
files=sys.argv[1].split(" ")
for i in files: