s4 dns: Move record lookup to dns_utils.c
[mat/samba.git] / script / land-remote.py
index 43fdacb785ff2245bccb4133a5c89f146025d344..1009e6bd02bc3ee20143990057181936eb48f4d4 100755 (executable)
@@ -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
@@ -104,6 +104,8 @@ if opts.pushto:
     remote_args.append("--pushto=%s" % opts.pushto)
 if opts.push_master:
     remote_args.append("--push-master")
+if opts.fail_slowly:
+    remote_args.append("--fail-slowly")
 
 remote_args += extra_args
 print "%s$ %s" % (opts.host, " ".join(remote_args))