mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-13 13:10:22 +00:00
Move checkRoot to main
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
@@ -21,10 +21,6 @@ import (
|
||||
)
|
||||
|
||||
func Reset(reboot, unattended bool, dir ...string) error {
|
||||
if err := checkRoot(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
bus.Manager.Initialize()
|
||||
|
||||
// This config is only for reset branding.
|
||||
|
Reference in New Issue
Block a user