From 6ecdd1e9a27e6c0b14e5fc76d765631440bf36de Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 10 Mar 2010 13:12:53 +0000 Subject: - Update to 5.39.1 - Pass maintainership to submitter PR: 144052 Submitted by: Alex Samorukov Approved by: marck@ (maintainer) --- sysutils/smartmontools/files/smart.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysutils/smartmontools/files') diff --git a/sysutils/smartmontools/files/smart.in b/sysutils/smartmontools/files/smart.in index 713ece59b70d..17a85547a968 100644 --- a/sysutils/smartmontools/files/smart.in +++ b/sysutils/smartmontools/files/smart.in @@ -64,6 +64,9 @@ case "${daily_status_smart_enable}" in elif [ $((status & 3)) -ne 0 ]; then rc=2 ${trim_junk} "${tmpfile}" + elif [ `grep -c '^SMART support is: Unavailable' ${tmpfile}` -eq 1 ] ; then + rc=2 + echo "N/A" else rc=1 ${smartctl} ${devflags} ${daily_status_smartctl_extra_status_flags} \ -- cgit v1.2.3