mirror of https://bitbucket.org/ausocean/av.git
Fixed []strgin to string
This commit is contained in:
parent
393583572b
commit
432e9d6c54
|
@ -560,7 +560,7 @@ func (r *revid) setupInputForRaspivid() error {
|
||||||
name := "raspivid"
|
name := "raspivid"
|
||||||
r.cmd = &exec.Cmd{
|
r.cmd = &exec.Cmd{
|
||||||
Path: name,
|
Path: name,
|
||||||
Args: append([]string{name}, arguments),
|
Args: append([]string{name}, arguments...),
|
||||||
}
|
}
|
||||||
if filepath.Base(name) == name {
|
if filepath.Base(name) == name {
|
||||||
if lp, err := exec.LookPath(name); err != nil {
|
if lp, err := exec.LookPath(name); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue