Merge pull request #24 from nalind/errors

Correctly report errors returned by commands
This commit is contained in:
Nalin Dahyabhai
2017-03-22 16:32:04 -04:00
committed by GitHub

View File

@@ -149,5 +149,9 @@ func main() {
ArgsUsage: "CONTAINER-NAME-OR-ID",
},
}
app.Run(os.Args)
err := app.Run(os.Args)
if err != nil {
logrus.Errorf("%v", err)
os.Exit(1)
}
}