Fix error message about missing ffmpeg

This commit is contained in:
Gabe Kangas
2021-09-20 18:13:38 -07:00
parent e81d41d092
commit 296f5d13f5

View File

@ -227,7 +227,7 @@ func ValidatedFfmpegPath(ffmpegPath string) string {
cmd := exec.Command("which", "ffmpeg") cmd := exec.Command("which", "ffmpeg")
out, err := cmd.CombinedOutput() out, err := cmd.CombinedOutput()
if err != nil { if err != nil {
log.Fatalln("Unable to determine path to ffmpeg. Please specify it in the config file.") log.Fatalln("Unable to determine path to ffmpeg. Please make sure it is installed either globaly or a copy exists in the owncast directory.")
} }
path := strings.TrimSpace(string(out)) path := strings.TrimSpace(string(out))