Use variables for colored error
This commit is contained in:
parent
f306fb0dfb
commit
cb0d8b35fb
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ else
|
|||
done
|
||||
smartctl -A -f brief /dev/$DISK \
|
||||
| parse-smart-attr \
|
||||
| sed 's/ERROR/$RES_ERROR/g' \
|
||||
| sed "s/ERROR/$RES_ERROR/g" \
|
||||
> $OUTPUT_DIR/disk/$SERIAL.smart.error
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue