summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-al
blob: d1c72c365117a88a18fe273dd0340cc79c281e22 (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.8 2004/04/15 22:28:36 wiz Exp $

--- src/client.c.orig	Sun Apr 11 17:46:22 2004
+++ src/client.c
@@ -4481,6 +4481,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)