summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-04 13:53:02 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-04 13:53:02 +0200
commit587315f75ddfd56f2b98a8dd886fff1c6730ca0d (patch)
tree93dfd70698b80e48be06b10f0b5517204ffcf018 /script
parentf1b62eaa2cda7c92897ca9239573c67798a41f1a (diff)
downloadsamba-587315f75ddfd56f2b98a8dd886fff1c6730ca0d.tar.gz
samba-587315f75ddfd56f2b98a8dd886fff1c6730ca0d.tar.bz2
samba-587315f75ddfd56f2b98a8dd886fff1c6730ca0d.zip
land-remote: Force running in foreground when pushing to master.
Diffstat (limited to 'script')
-rwxr-xr-xscript/land-remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/land-remote.py b/script/land-remote.py
index 43fdacb785..93178b57aa 100755
--- a/script/land-remote.py
+++ b/script/land-remote.py
@@ -45,8 +45,8 @@ if not opts.foreground and not opts.email:
sys.exit(1)
if not opts.foreground and opts.push_master:
- print "Unable to push to master when not running in foreground."
- sys.exit(1)
+ print "Pushing to master, forcing run in foreground."
+ opts.foreground = True
if not opts.remote_repo:
print "%s$ mktemp -d" % opts.host