Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
| ... | ... |
@@ -158,7 +158,7 @@ func Raw(args ...string) ([]byte, error) {
|
| 158 | 158 |
} |
| 159 | 159 |
|
| 160 | 160 |
if os.Getenv("DEBUG") != "" {
|
| 161 |
- fmt.Printf("[DEBUG] [iptables]: %s, %v\n", path, args)
|
|
| 161 |
+ fmt.Fprintf(os.Stderr, fmt.Sprintf("[debug] %s, %v\n", path, args))
|
|
| 162 | 162 |
} |
| 163 | 163 |
|
| 164 | 164 |
output, err := exec.Command(path, args...).CombinedOutput() |