8 lines
314 B
Bash
8 lines
314 B
Bash
#!/bin/bash
|
|
# Always-fail stub used only by the failure-propagation test case, to prove
|
|
# a genuine restart failure aborts restart_pve_services() instead of being
|
|
# swallowed by the `cmd && log ...` pitfall (set -e does not fire on the
|
|
# left side of &&).
|
|
echo "pvestatd: simulated failure (test stub)" >&2
|
|
exit 1
|