From 432e9d6c54212de151e97408b8d6a43919645662 Mon Sep 17 00:00:00 2001 From: Saxon1 Date: Sat, 5 May 2018 13:53:01 +0930 Subject: [PATCH] Fixed []strgin to string --- revid/Revid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revid/Revid.go b/revid/Revid.go index a0a1970a..d34072fd 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -560,12 +560,12 @@ func (r *revid) setupInputForRaspivid() error { name := "raspivid" r.cmd = &exec.Cmd{ Path: name, - Args: append([]string{name}, arguments), + Args: append([]string{name}, arguments...), } if filepath.Base(name) == name { if lp, err := exec.LookPath(name); err != nil { r.Log(Error, err.Error()) - return err + return err } else { r.cmd.Path = lp }