mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-05 06:23:22 +00:00
fix: Detach stdin globally to prevent curl pipe hangs in Proxmox script
This commit is contained in:
@@ -5,6 +5,9 @@
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
# This script discovers LXC containers on a Proxmox host and automatically
|
# This script discovers LXC containers on a Proxmox host and automatically
|
||||||
# enrolls them into PatchMon for patch management.
|
# enrolls them into PatchMon for patch management.
|
||||||
|
|
||||||
|
# Detach from stdin entirely to prevent hangs when piped from curl
|
||||||
|
exec </dev/null
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# 1. Set environment variables or edit configuration below
|
# 1. Set environment variables or edit configuration below
|
||||||
|
|||||||
Reference in New Issue
Block a user