Skip to content

Commit 8235626

Browse files
authored
Typo
1 parent 2f94036 commit 8235626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/autoupdate/agent/process.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ func (s SystemdService) Disable(ctx context.Context, now bool) error {
394394
return trace.Wrap(err)
395395
}
396396
// The --now flag is not supported in systemd versions older than 220,
397-
// so perform enable + start commands instead.
397+
// so perform disable + stop commands instead.
398398
code := s.systemctl(ctx, slog.LevelInfo, "disable", s.ServiceName)
399399
if code != 0 {
400400
return trace.Errorf("unable to disable systemd service")

0 commit comments

Comments
 (0)