fix smartclt test

This commit is contained in:
Simon Vieille 2019-06-12 13:45:12 +02:00
parent 2f0985f9dd
commit c7d47c001a
Signed by: deblan
GPG Key ID: 03383D15A1D31745
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ if ! which base64 2>/dev/null >/dev/null; then
exit 1
fi
if test -n "$SMART_DEVICES" && ! which smartcl 2>/dev/null >/dev/null; then
printf "Le programme \`smartcl\` est nécessaire. Installer \`smartmontools\`.\n"
if test -n "$SMART_DEVICES" && ! which smartctl 2>/dev/null >/dev/null; then
printf "Le programme \`smartctl\` est nécessaire. Installer \`smartmontools\`.\n"
exit 1
fi