remove dup os.Exit

This commit is contained in:
Aaron Bieber 2020-02-15 17:21:31 -07:00
parent 9b4dcbde4b
commit dcf005b353
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ func errExit(err error) {
if err != nil {
if err == io.EOF {
fmt.Println("invalid signature file")
os.Exit(1)
} else {
fmt.Println(err)
}
fmt.Println(err)
os.Exit(1)
}