mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-24 14:31:11 +01:00
Another exclusion for presaving
This commit is contained in:
parent
1a144e4e70
commit
e92c702402
@ -155,7 +155,7 @@ func presaveHistoryEntry(ctx context.Context) {
|
||||
entry.EndTime = time.Unix(0, 0).UTC()
|
||||
|
||||
// Skip saving references to presaving
|
||||
if strings.Contains(entry.Command, "presaveHistoryEntry") {
|
||||
if strings.Contains(entry.Command, "presaveHistoryEntry") || strings.Contains(entry.Command, "__history_control_r") {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user