1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

land: Inherit EMAIL from the environment.

This commit is contained in:
Jelmer Vernooij 2010-10-03 15:06:51 +02:00
parent 88d08c172c
commit 958d7a5710

View File

@ -34,6 +34,9 @@ parser.add_option("--fail-slowly", help="continue running tests even after one h
(opts, extra_args) = parser.parse_args()
if opts.email is None and os.getenv("EMAIL") is not None:
opts.email = os.getenv("EMAIL")
if not opts.foreground and not opts.email:
print "Not running in foreground and --email not specified."
sys.exit(1)