diff options
author | Jacob Moody <moody@posixcafe.org> | 2022-08-04 23:04:24 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2022-08-04 23:04:24 +0000 |
commit | f03556a76343783be1873dc39d57b63e37c07dc1 (patch) | |
tree | 0176d6f1307195ee065b3fff3265906ca06924fb /sys/src/cmd/rio | |
parent | 0541a434cb9cfd1a776f1ef29de3a8a7aa1d9b99 (diff) |
rio: show Exit in subrios
Diffstat (limited to 'sys/src/cmd/rio')
-rw-r--r-- | sys/src/cmd/rio/rio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/rio/rio.c b/sys/src/cmd/rio/rio.c index 9c18a6955..bc53f1edb 100644 --- a/sys/src/cmd/rio/rio.c +++ b/sys/src/cmd/rio/rio.c @@ -124,7 +124,7 @@ threadmain(int argc, char *argv[]) Image *i; Rectangle r; - if(strstr(argv[0], ".out") == nil){ + if(access("/dev/wctl", AEXIST) != 0){ menu3str[Exit] = nil; Hidden--; } |