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:
parent
fe3aaa23c7
commit
d213ce11a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249234
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= smartmontools
|
||||
PORTVERSION= 5.39
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user