diff options
author | Michael Forney <mforney@mforney.org> | 2022-10-05 01:42:53 +0000 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2022-10-05 01:42:53 +0000 |
commit | 502fe5af32a3d275aa89ffc834157bdbabc45c50 (patch) | |
tree | 3496e178abbb2ef63d486dc80218d298c6be1632 | |
parent | b293372ee1f55c5583df0574ed6613ede5acf788 (diff) |
vt: quote special characters in command arguments
These arguments are interpreted by rc, so use needsrcquote to quote
them properly.
-rw-r--r-- | sys/src/cmd/vt/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/vt/main.c b/sys/src/cmd/vt/main.c index c6ec70976..32743c792 100644 --- a/sys/src/cmd/vt/main.c +++ b/sys/src/cmd/vt/main.c @@ -299,6 +299,7 @@ threadmain(int argc, char **argv) if(rfork(RFENVG) < 0) sysfatal("rfork: %r"); + doquote = needsrcquote; quotefmtinstall(); notify(catch); atexit(shutdown); |