Browse Source

Make missing ffmpeg a fatal error. Closes #554

pull/570/head
Gabe Kangas 4 years ago
parent
commit
3c7997b75e
  1. 2
      config/config.go

2
config/config.go

@ -211,7 +211,7 @@ func (c *config) GetFFMpegPath() string { @@ -211,7 +211,7 @@ func (c *config) GetFFMpegPath() string {
cmd := exec.Command("which", "ffmpeg")
out, err := cmd.CombinedOutput()
if err != nil {
log.Debugln("Unable to determine path to ffmpeg. Please specify it in the config file.")
log.Fatalln("Unable to determine path to ffmpeg. Please specify it in the config file.")
}
path := strings.TrimSpace(string(out))

Loading…
Cancel
Save