mirror of
https://github.com/zdharma-continuum/zflai.git
synced 2026-09-10 07:06:16 -04:00
*_check_start: Use ARGV0, although it doesn't have effect on function
This commit is contained in:
parent
871773b531
commit
8f529b5cec
|
|
@ -23,8 +23,9 @@ fi
|
|||
(( ZFLAI_FD != 0 )) && return 0
|
||||
|
||||
# Not running, or closed to prevent race condition - start
|
||||
# a new agent
|
||||
builtin exec {ZFLAI_FD}> >(zflai_memory_keeper) || return 1
|
||||
# a new agent. The ARGV0 assignment will not work untill
|
||||
# zflai_memory_keeper is a command not a function.
|
||||
builtin exec {ZFLAI_FD}> >(ARGV0=zflai-memory-keeper zflai_memory_keeper) || return 1
|
||||
|
||||
return 0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue