This commit is contained in:
2021-06-01 09:00:27 +03:00
parent 86b7c30680
commit 3d6f45f81c
5 changed files with 14 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ func main() {
c := &command{flattener: rootfs.Flatten, Stdout: os.Stdout}
if err := c.execute(os.Args[1], os.Args[2]); err != nil {
fmt.Errorf("Error: %v", err)
fmt.Printf("Error: %v", err)
os.Exit(1)
}
os.Exit(0)