summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index eda308b..59d4ded 100644
--- a/main.go
+++ b/main.go
@@ -151,7 +151,9 @@ func main() {
pb.marshal(pf)
// make the sort.pb.go file
- pb.makeNewSortfile(pf)
+ if err := pb.makeNewSortfile(pf); err != nil {
+ badExit(err)
+ }
}
func okExit(s string) {