blob: ead51272412d91ca89330e8c744c7e08e9faaddf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-al,v 1.4 2009/04/25 11:41:59 sno Exp $
--- src/client.c.orig 2008-05-07 15:57:34.000000000 +0000
+++ src/client.c 2009-04-16 06:12:44.000000000 +0000
@@ -4510,6 +4510,16 @@
error (1, 0,
"This server does not support the global -n option.");
}
+ if (nolock && !noexec)
+ {
+ if (have_global)
+ {
+ send_to_server ("Global_option -u\012", 0);
+ }
+ else
+ error (1, 0,
+ "This server does not support the global -u option.");
+ }
if (quiet)
{
if (have_global)
|