fix(installer): Re-Exec sichtbar melden (Selbstschutz-Diagnose)
This commit is contained in:
1 parent
1eb7976ec8
commit
9e6593a6f6
1 file changed
+1
@@ -25,6 +25,7 @@ if [ -z "${NETBIRD_TG_REEXEC:-}" ] && [ ! -t 0 ]; then
|
||||
if command -v curl >/dev/null 2>&1 && \
|
||||
curl -fsSL "$_src/install.sh" -o "$_self" 2>/dev/null && [ -s "$_self" ]; then
|
||||
chmod 0700 "$_self"
|
||||
printf '[netbird-telegraf] Selbstschutz: Skript laeuft jetzt von %s (stdin frei).\n' "$_self"
|
||||
# stdin ausdruecklich auf /dev/null: der Prozess erbt sonst die Pipe, und
|
||||
# apt/needrestart koennte weiter daraus lesen.
|
||||
NETBIRD_TG_REEXEC=1 REPO_RAW="$_src" sh "$_self" "$@" < /dev/null
|
||||
|
||||
Reference in new issue
Block a user