mirror of
https://github.com/Schmenn/discord-exploits.git
synced 2024-12-22 10:25:33 +00:00
Added output for invalid file types (#18)
* reordered ffmpeg params to fix issue #16 * added a message for invalid input file type
This commit is contained in:
parent
c4ed04b7e9
commit
6ab4d58f79
10
exploits.go
10
exploits.go
|
@ -187,9 +187,11 @@ func initCommand(inputFile string, mode string) {
|
|||
fmt.Println("completed task.")
|
||||
os.Remove(out)
|
||||
|
||||
} else if inputFile == "no input file provided" {
|
||||
return
|
||||
|
||||
} else {
|
||||
if inputFile == "no input file provided" {
|
||||
return
|
||||
}
|
||||
}
|
||||
fmt.Println("incompatible input file")
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue