mirror of
https://github.com/fleetdm/fleet
synced 2026-04-28 17:07:43 +00:00
8 lines
217 B
Go
8 lines
217 B
Go
//go:build darwin
|
|
|
|
package update
|
|
|
|
func runRenewEnrollmentProfile() error {
|
|
cmd := `launchctl asuser $(id -u $(stat -f "%u" /dev/console)) profiles renew -type enrollment`
|
|
return runCmdCollectErr("sh", "-c", cmd)
|
|
}
|