google / timesketch

Collaborative forensic timeline analysis
Apache License 2.0
2.62k stars 589 forks source link

move the user message behind the actual drop command. #3164

Closed jaegeral closed 2 months ago

jaegeral commented 2 months ago

By working on https://github.com/google/timesketch/issues/2432 I discovered that we give the user a successful message, even if the command was not actually executed. So even if something failed, the user would have gotten the message all fine.

That is why I moved the user output after the actual command, so it can fail.