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

Use fmt, not log for subprocess errors

parent 7fb38099
...@@ -6,7 +6,6 @@ import ( ...@@ -6,7 +6,6 @@ import (
"flag" "flag"
"fmt" "fmt"
"io" "io"
"log"
"os" "os"
) )
...@@ -73,7 +72,7 @@ func findFileInZip(fileName string, archive *zip.Reader) *zip.File { ...@@ -73,7 +72,7 @@ func findFileInZip(fileName string, archive *zip.Reader) *zip.File {
} }
func printError(err error) { func printError(err error) {
log.Printf("%s: %v", progName, err) fmt.Fprintf(os.Stderr, "%s: %v", progName, err)
} }
func fatalError(err error) { 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