Compare commits

2 Commits

Author SHA1 Message Date
yo
85844065e9 Merge branch 'json' of https://git.nosd.in/yo/libbsm into json 2023-09-06 21:35:04 +02:00
yo
85c1aff8ab Return -1 when input file not available 2023-09-06 21:33:44 +02:00

View File

@ -89,7 +89,7 @@ func main() {
f, err = os.Open(filename)
if err != nil {
fmt.Printf("Impossible d'ouvrir le fichier %s\n", filename)
return
os.Exit(-1)
}
r = bufio.NewReader(f)
}