mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
ktest.pl: Add MAIL_PATH option to define where to find the mailer
The option MAIL_PATH lets the user decide how to find the mailer they are using. For example, sendmail is usually located in /usr/sbin but is not always in the path of non admin users. Have ktest look through the user's PATH environment variable (adding /usr/sbin) as well, but if that's not good enough, allow the user to define where to find the mailer. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> squash to mail exec Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
@@ -411,6 +411,10 @@
|
||||
# (default sendmail)
|
||||
#MAILER = sendmail
|
||||
#
|
||||
# The executable to run
|
||||
# (default: for sendmail "/usr/sbin/sendmail", otherwise equals ${MAILER})
|
||||
#MAIL_EXEC = /usr/sbin/sendmail
|
||||
#
|
||||
# Errors are defined as those would terminate the script
|
||||
# (default 1)
|
||||
#EMAIL_ON_ERROR = 1
|
||||
|
||||
Reference in New Issue
Block a user