mirror of
https://github.com/Spearfoot/disk-burnin-and-testing.git
synced 2025-12-11 13:53:21 +00:00
remove --captive option from smart tests
This commit is contained in:
@@ -375,7 +375,7 @@ run_smart_test()
|
|||||||
{
|
{
|
||||||
log_header "Run SMART $1 test"
|
log_header "Run SMART $1 test"
|
||||||
if [ "${DRY_RUN}" -eq 0 ]; then
|
if [ "${DRY_RUN}" -eq 0 ]; then
|
||||||
smartctl --test="$1" --captive "/dev/${DRIVE}"
|
smartctl --test="$1" "/dev/${DRIVE}"
|
||||||
log_info "SMART $1 test started, awaiting completion for $2 seconds ..."
|
log_info "SMART $1 test started, awaiting completion for $2 seconds ..."
|
||||||
sleep "$2"
|
sleep "$2"
|
||||||
poll_selftest_complete
|
poll_selftest_complete
|
||||||
|
|||||||
Reference in New Issue
Block a user