screen/styroptcrash.diff

20 lines
701 B
Diff
Raw Normal View History

commit c64f800e7b197e14433ac97be12f32385a27a04f
Author: Michael Schroeder <mls@suse.de>
Date: Wed Aug 8 19:54:11 2012 +0200
extend commit #8c1b8e45, which fixed -x but forgot about -r
diff --git a/src/screen.c b/src/screen.c
index 949df01..6e19732 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -988,7 +988,7 @@ char **av;
Panic(0, "$HOME too long - sorry.");
attach_tty = "";
- if (!detached && !lsflag && !cmdflag && !(dflag && !mflag && !rflag && !xflag) && !(!mflag && !SockMatch && sty && !xflag))
+ if (!detached && !lsflag && !cmdflag && !(dflag && !mflag && !rflag && !xflag) && !(sty && !SockMatch && !mflag && !rflag && !xflag))
{
#ifndef NAMEDPIPE
int fl;