diff --git a/README.md b/README.md index 221a95d..954c39c 100644 --- a/README.md +++ b/README.md @@ -65,9 +65,7 @@ func main() { ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() // Equivalent to `systemctl enable nginx` with a 10 second timeout - opts := systemctl.Options{ - UserMode: false, - } + opts := systemctl.Options{ UserMode: false } err := systemctl.Enable(ctx, unit, opts) if err != nil { log.Fatalf("unable to enable unit %s: %v", "nginx", err)