mirror of https://github.com/ericonr/sbctl.git
Added print layout for key syncing
Signed-off-by: Morten Linderud <morten@linderud.pw>
This commit is contained in:
parent
fe514e1af7
commit
6b0242c953
|
@ -28,11 +28,12 @@ var enrollKeysCmd = &cobra.Command{
|
|||
if isImmutable {
|
||||
return sbctl.ErrImmutable
|
||||
}
|
||||
logging.Print("Syncing %s to EFI variables...", sbctl.KeysPath)
|
||||
logging.Print("Syncing keys to EFI variables...")
|
||||
synced := sbctl.SBKeySync(sbctl.KeysPath)
|
||||
if !synced {
|
||||
return errors.New("couldn't sync keys")
|
||||
}
|
||||
logging.Println("")
|
||||
logging.Ok("Synced keys!")
|
||||
return nil
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue