diff --git a/main.go b/main.go index 436a020..b4db356 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,7 @@ func main() { c := &command{flattener: rootfs.Flatten, Stdout: os.Stdout} if err := c.execute(os.Args[1], os.Args[2]); err != nil { - fmt.Sprintf(os.Stderr, "Error: %v\n", err) + fmt.Fprintf(os.Stderr, "Error: %v\n", err) os.Exit(1) } os.Exit(0)