fix compilation on windows

This commit is contained in:
aler9 2020-11-11 10:56:18 +01:00
parent ba9d2a33fb
commit 7dc72f4490
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ func (e *ExternalCmd) runInner() bool {
// with Linux commands
tmp := strings.ReplaceAll(e.cmdstr, "$RTSP_PATH", e.env.Path)
tmp = strings.ReplaceAll(tmp, "$RTSP_PORT", e.env.Port)
parts, err := shellquote.Split(tmp)
if err != nil {
return true
@ -32,7 +31,7 @@ func (e *ExternalCmd) runInner() bool {
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
err := cmd.Start()
err = cmd.Start()
if err != nil {
return true
}