aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-sec1
blob: abeeb0c48b682756ed37fb6163eb80b695a9eac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- screen.c.orig	Fri May 25 16:40:10 2001
+++ screen.c	Mon Sep  3 15:48:24 2001
@@ -1061,6 +1061,10 @@
 	  Attacher();
 	  /* NOTREACHED */
 	}
+#ifdef MULTIUSER
+      if (multiattach)
+	Panic(0, "Can't create sessions of other users.");
+#endif 
       debug("screen -r: backend not responding -- still crying\n");
     }
   else if (dflag && !mflag)