diff options
author | Masami Hiramatsu (Google) <[email protected]> | 2023-01-20 18:16:16 +0900 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-02-20 11:52:27 -0500 |
commit | 7dc8e24f0e09834341f84d37433840b353d64bc8 (patch) | |
tree | 319af4fd8c46e89f6f3acea156382fe583a10044 /lib/memory-notifier-error-inject.c | |
parent | 4e7d2a8f0b52abf23b1dc13b3d88bc0923383cd5 (diff) |
ktest: Restore stty setting at first in dodie
The do_send_email() will call die before restoring stty if sendmail
setting is not correct or sendmail is not installed. It is safer to
restore it in the beginning of dodie().
Link: https://lkml.kernel.org/r/167420617635.2988775.13045295332829029437.stgit@devnote3
Cc: John 'Warthog9' Hawley <[email protected]>
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions