You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 30442d5
Browse filesBrowse the repository at this point in the historyBrowse files
Say "stopped run" in resume messages, not "interrupt" (#341)
Since #294 a run stopped by -max-duration or the reliability guard can
be resumed too, but the resume messages still called it "the
interrupted run" or said what happened "before the interrupt". The
seven user-facing messages now say "the stopped run" and "before the
run stopped"; two tests that match the text follow.
The other two parts of #341 (excluded candidates counted twice and
processed above the total after a resume) are left open.
Refs #341
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
returnfmt.Errorf("-%s is %q now but was %q in the interrupted run (now set by %s); start a new scan instead of resuming", name, v, st.Settings[name], d.describe(fs, name))
185
+
returnfmt.Errorf("-%s is %q now but was %q in the stopped run (now set by %s); start a new scan instead of resuming", name, v, st.Settings[name], d.describe(fs, name))
out.Error("cannot resume: the wordlist for %s changed since the interrupted run (a different -w file or subenum version); start a new scan instead", target)
443
+
out.Error("cannot resume: the wordlist for %s changed since the stopped run (a different -w file or subenum version); start a new scan instead", target)
444
444
returnfalse
445
445
}
446
446
}
@@ -698,7 +698,7 @@ func (s *session) scanOneTarget(ctx context.Context, i int, target string) (next
698
698
ifsaved!=nil {
699
699
mainSaved, restoredHits=s.restoreTarget(saved)
700
700
ifsaved.Done {
701
-
out.Info("%s was finished before the interrupt; %d results restored", target, len(saved.Results))
701
+
out.Info("%s was finished before the run stopped; %d results restored", target, len(saved.Results))
702
702
// The report keeps what the finished run found (#315).
0 commit comments