added logging
This commit is contained in:
parent
a1caea4a28
commit
140353097e
1 changed files with 2 additions and 2 deletions
|
@ -253,8 +253,8 @@ func run(use string, args []string, withStdErr, withStdOut bool, stopChan stop.C
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
defer pool.ReleaseIP(sourceAddress)
|
defer pool.ReleaseIP(sourceAddress)
|
||||||
args = append(args, "--source-address", sourceAddress)
|
argsForCommand := append(args, "--source-address", sourceAddress)
|
||||||
cmd := exec.Command("youtube-dl", args...)
|
cmd := exec.Command("youtube-dl", argsForCommand...)
|
||||||
logrus.Printf("Running command youtube-dl %s", strings.Join(args, " "))
|
logrus.Printf("Running command youtube-dl %s", strings.Join(args, " "))
|
||||||
|
|
||||||
var stderr io.ReadCloser
|
var stderr io.ReadCloser
|
||||||
|
|
Loading…
Reference in a new issue