diff options
author | Sigrid <ftrvxmtrx@gmail.com> | 2020-03-09 13:58:41 +0100 |
---|---|---|
committer | Sigrid <ftrvxmtrx@gmail.com> | 2020-03-09 13:58:41 +0100 |
commit | 446e454c5a19d1ce2e8da699686159b3a31e8bc7 (patch) | |
tree | 28857c0f5a6d20b8952da434506ec791e18c0c53 /sys/src/cmd/sam/xec.c | |
parent | 290c921d1d01119b7d4550770da06c491508508f (diff) |
sam: ^ does not need current file
Diffstat (limited to 'sys/src/cmd/sam/xec.c')
-rw-r--r-- | sys/src/cmd/sam/xec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/sam/xec.c b/sys/src/cmd/sam/xec.c index 9493d54fc..c53bedb8b 100644 --- a/sys/src/cmd/sam/xec.c +++ b/sys/src/cmd/sam/xec.c @@ -26,7 +26,7 @@ cmdexec(File *f, Cmd *cp) if(f && f->unread) load(f); if(f==0 && (cp->addr==0 || cp->addr->type!='"') && - !utfrune("bBnqUXY!", cp->cmdc) && + !utfrune("bBnqUXY!^", cp->cmdc) && cp->cmdc!=('c'|0x100) && !(cp->cmdc=='D' && cp->ctext)) error(Enofile); i = lookup(cp->cmdc); |