Commit 72bad97f authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use fmt, not log for subprocess errors

parent 7fb38099
......@@ -6,7 +6,6 @@ import (
"flag"
"fmt"
"io"
"log"
"os"
)
......@@ -73,7 +72,7 @@ func findFileInZip(fileName string, archive *zip.Reader) *zip.File {
}
func printError(err error) {
log.Printf("%s: %v", progName, err)
fmt.Fprintf(os.Stderr, "%s: %v", progName, err)
}
func fatalError(err error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment