1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Fix periodic script

PR:		143551
Submitted by:	marck (maintainer)
This commit is contained in:
Dmitry Marakasov 2010-02-04 13:22:00 +00:00
parent fe3aaa23c7
commit d213ce11a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249234
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= smartmontools
PORTVERSION= 5.39
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF

View File

@ -41,7 +41,7 @@ case "${daily_status_smart_enable}" in
echo
echo "Checking health of ${device}:"
echo
${smartctl} ${daily_status_smartctl_flags} ${device} > "${tmpfile}"
${smartctl} ${daily_status_smartctl_flags} /dev/${device} > "${tmpfile}"
status=$?
if [ $((status & 3)) -ne 0 ]; then
rc=2