evolinux-base: check_hpraid cron: Add -p
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Benoît S. 2020-06-16 13:20:43 +09:00
parent a74f4e1890
commit 766b4dfa82

View file

@ -7,7 +7,7 @@ set -euo pipefail
TMPDIR=/tmp TMPDIR=/tmp
md5sum=$(command -v md5sum) md5sum=$(command -v md5sum)
awk=$(command -v awk) 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_output=$(mktemp -p $TMPDIR check_hpraid_XXX)
check_hpraid_last="$TMPDIR/check_hpraid_last" check_hpraid_last="$TMPDIR/check_hpraid_last"
trap trapFunc EXIT ERR trap trapFunc EXIT ERR