mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-14 04:58:08 +00:00
fix(worker): use dynaload for single binaries (#2620)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
committed by
GitHub
parent
f569237a50
commit
8d84dd4f88
@ -49,7 +49,7 @@ func LoadLDSO(assetDir string, args []string, grpcProcess string) ([]string, str
|
||||
if _, err := os.Stat(ldPath); err == nil {
|
||||
log.Debug().Msgf("ld.so found")
|
||||
// We need to run the grpc process with the ld.so
|
||||
args = append(args, grpcProcess)
|
||||
args = append([]string{grpcProcess}, args...)
|
||||
grpcProcess = ldPath
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user