fix: Detach stdin globally to prevent curl pipe hangs in Proxmox script

This commit is contained in:
Muhammad Ibrahim
2025-10-02 12:55:52 +01:00
parent 9963cfa417
commit ebda7331a9

View File

@@ -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