summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-al
blob: 2acc5c7bd6a5a5c24fedcdd0204fc90dc7ef493a (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.10 2005/03/01 15:36:48 wiz Exp $

--- src/client.c.orig	2004-11-18 16:45:30.000000000 +0100
+++ src/client.c
@@ -4519,6 +4519,16 @@ start_server ()
 		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)