fix whitespace

This commit is contained in:
2022-03-20 23:43:30 -07:00
parent ae23e6ecb9
commit c8050d2258

View File

@@ -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)