main.go: fix Sprintf -> Fprintf
This commit is contained in:
parent
5b65b37d81
commit
8a2713bd3b
2
main.go
2
main.go
@ -43,7 +43,7 @@ func main() {
|
|||||||
|
|
||||||
c := &command{flattener: rootfs.Flatten, Stdout: os.Stdout}
|
c := &command{flattener: rootfs.Flatten, Stdout: os.Stdout}
|
||||||
if err := c.execute(os.Args[1], os.Args[2]); err != nil {
|
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(1)
|
||||||
}
|
}
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user