Fix syntax error: unmatched quote in trap command
This commit is contained in:
parent
2b6ea4f5a3
commit
652c9dee33
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ if '[' '-n' "${_foxshell_bootstrap-}" ']'; then
|
|||
tmpdir="$('command' 'mktemp' '-d' "$FOXSHELL"/tmp.XXXXXXXXXX)" || 'exit'
|
||||
'command' 'chmod' 'go-rwx' '--' "$tmpdir" || 'exit'
|
||||
'set' '-E'
|
||||
'trap' ''command' 'rm' '-rf' '--' "$tmpdir"; 'exit' '1' 'ERR'
|
||||
'trap' 'command rm -rf -- "$tmpdir"; exit 1' 'ERR'
|
||||
'set' '+E'
|
||||
|
||||
dir="$FOXSHELL"/foxshell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue