mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 14:26:36 +08:00
fix agent
This commit is contained in:
@@ -11,6 +11,8 @@ fix_runtime_ownership() {
|
||||
chmod -R u+rwX,g+rX "$target" 2>/dev/null || true
|
||||
fi
|
||||
done
|
||||
# Allow the runtime user to write to /usr/local/bin to support container self-updating
|
||||
chown "${RUNTIME_USER}:${RUNTIME_USER}" /usr/local/bin "${AGENT_BIN}" 2>/dev/null || true
|
||||
}
|
||||
|
||||
if [ "$(id -u)" -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user