ref: db94165c2a6c948c1dd499adddcadd2ff4620f70
parent: c8ea222104288ae1c3956ac25a757bafc665d580
author: kvik <kvik@a-b.xyz>
date: Wed Sep 16 09:12:13 EDT 2020
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.
--- a/rc/bin/window
+++ b/rc/bin/window
@@ -86,6 +86,7 @@
exec $argv0 -x $cmd </dev/cons >/dev/cons >[2]/dev/cons
}
}&
+ exit ''
}
if not { if(~ $wctl ''){--
⑨