mirror of
https://github.com/Schmenn/discord-exploits.git
synced 2024-12-22 14:45:30 +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.")
|
fmt.Println("completed task.")
|
||||||
os.Remove(out)
|
os.Remove(out)
|
||||||
|
|
||||||
|
} else if inputFile == "no input file provided" {
|
||||||
|
return
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if inputFile == "no input file provided" {
|
fmt.Println("incompatible input file")
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue