#!/bin/bash # pgrep-Stub: Verhalten per Umgebungsvariable steuerbar # PGREP_STUB_FOUND=1 → Prozess gefunden if [ "${PGREP_STUB_FOUND:-0}" = "1" ]; then echo "12345" exit 0 fi exit 1