mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
fix trunk check issue in init script
This commit is contained in:
@@ -123,7 +123,7 @@ stop_process_pid() {
|
||||
info_log "stopping ${PROCESS}"
|
||||
kill "${PID}" || true
|
||||
# wait for process exit
|
||||
while [ -e "/proc/${PID}" ]; do sleep 0.1; done
|
||||
while [[ -e "/proc/${PID}" ]]; do sleep 0.1; done
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user