1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

land-remote: Announce what address email is going to be sent to.

This commit is contained in:
Jelmer Vernooij 2010-10-04 13:51:34 +02:00
parent 20d39691a8
commit f1b62eaa2c

View File

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