Fix lowercase typo

This commit is contained in:
2022-03-20 23:42:28 -07:00
parent c9dec8a0b7
commit ae23e6ecb9

View File

@@ -66,7 +66,7 @@ func main() {
defer cancel() defer cancel()
// Equivalent to `systemctl enable nginx` with a 10 second timeout // Equivalent to `systemctl enable nginx` with a 10 second timeout
opts := systemctl.Options{ opts := systemctl.Options{
usermode: false, UserMode: false,
} }
err := systemctl.Enable(ctx, unit, opts) err := systemctl.Enable(ctx, unit, opts)
if err != nil { if err != nil {