mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-17 05:54:56 +02:00
When killing the background meilisearch process after dump import, bash would print a 'Terminated' job notification and trigger 'pop_var_context: head of shell_variables not a function context' errors (visible as /dev/fd/63 line errors), causing the rest of the update_script to not execute. This left meilisearch stopped after migration and caused subsequent update runs to skip it (binary version already matched latest). Two fixes: - Redirect background process output to /dev/null to suppress meilisearch startup log noise in the update output - Add 'wait $MEILI_PID' after 'kill $MEILI_PID' so bash properly reaps the child process without printing a job status notification Fixes #14276