window: fix error exit with the -m flag
When called with the -m flag window would always exit with some error, usually status='no match', because of an if-match being the last status-setting command in the script.
This commit is contained in:
parent
537443d959
commit
58861fff63
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ if(~ $#mflag 1) {
|
||||||
exec $argv0 -x $cmd </dev/cons >/dev/cons >[2]/dev/cons
|
exec $argv0 -x $cmd </dev/cons >/dev/cons >[2]/dev/cons
|
||||||
}
|
}
|
||||||
}&
|
}&
|
||||||
|
exit ''
|
||||||
}
|
}
|
||||||
if not {
|
if not {
|
||||||
if(~ $wctl ''){
|
if(~ $wctl ''){
|
||||||
|
|
Loading…
Reference in a new issue