the document of log.Fatal says Fatal is equivalent to l.Print() followed by a call to os.Exit(1).

So if we have called os.Exit(1), we do not need to call os.Exit(-1) since the program already exits.