Commit c35e38c5 authored by Matt Johnston's avatar Matt Johnston
Browse files

- Remove options that dbclient won't know about

--HG--
extra : convert_revision : 2d401308f73352e92d3c662d33920b24fc12bfa1
parent 48734bb3
......@@ -343,7 +343,7 @@ main(int argc, char **argv)
addargs(&args, "-p%s", optarg);
break;
case 'B':
addargs(&args, "-oBatchmode yes");
fprintf(stderr, "Note: -B option is disabled in this version of scp");
break;
case 'l':
speed = strtod(optarg, &endp);
......@@ -492,9 +492,13 @@ toremote(char *targ, int argc, char **argv)
addargs(&alist, "%s", ssh_program);
if (verbose_mode)
addargs(&alist, "-v");
#if 0
// Disabled since dbclient won't understand them
// and scp works fine without them.
addargs(&alist, "-x");
addargs(&alist, "-oClearAllForwardings yes");
addargs(&alist, "-n");
#endif
*src++ = 0;
if (*src == 0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment