]> Cypherpunks.ru repositories - goredo.git/blobdiff - status.go
Repetitive OOD optimization
[goredo.git] / status.go
index b918c65671dfbe5ebedb32dfadc9a43a5adcac7b..e6c9b3124ab12687c979096e8ea8dad2b722ad81 100644 (file)
--- a/status.go
+++ b/status.go
@@ -1,6 +1,6 @@
 /*
-goredo -- redo implementation on pure Go
-Copyright (C) 2020 Sergey Matveev <stargrave@stargrave.org>
+goredo -- djb's redo implementation on pure Go
+Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -20,6 +20,7 @@ package main
 import (
        "flag"
        "fmt"
+       "log"
        "os"
 )
 
@@ -57,7 +58,7 @@ func statusInit() {
        var err error
        r, FdStatus, err = os.Pipe()
        if err != nil {
-               panic(err)
+               log.Fatalln(err)
        }
        go func() {
                running := 0