evolinux-base: check_hpraid cron: Add -p

This commit is contained in:
Benoît S. 2020-06-16 13:20:43 +09:00 committed by Gitea
parent 0dee37a7e6
commit 8a4ae16d73
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ set -euo pipefail
TMPDIR=/tmp
md5sum=$(command -v md5sum)
awk=$(command -v awk)
check_hpraid="/usr/local/lib/nagios/plugins/check_hpraid -v"
check_hpraid="/usr/local/lib/nagios/plugins/check_hpraid -v -p"
check_hpraid_output=$(mktemp -p $TMPDIR check_hpraid_XXX)
check_hpraid_last="$TMPDIR/check_hpraid_last"
trap trapFunc EXIT ERR