mirror of https://github.com/ericonr/sbctl.git
sbctl: Error looks better then Fatal
Signed-off-by: Morten Linderud <morten@linderud.pw>
This commit is contained in:
parent
faf366f5e7
commit
a43373ce3f
|
@ -74,7 +74,7 @@ func main() {
|
|||
} else if errors.Is(err, sbctl.ErrImmutable) {
|
||||
logging.Println("You need to chattr -i files in efivarfs")
|
||||
} else if !errors.Is(err, ErrSilent) {
|
||||
logging.Fatal(err)
|
||||
logging.Error(err)
|
||||
}
|
||||
os.Exit(1)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue