From c7d47c001a3fdb2c94a5e4b86829a1f0d7a2ab04 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 12 Jun 2019 13:45:12 +0200 Subject: [PATCH] fix smartclt test --- hooks/on-start | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/on-start b/hooks/on-start index 47d8994..c050bcf 100755 --- a/hooks/on-start +++ b/hooks/on-start @@ -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