Skip to content

Commit

Permalink
Fix spindown and status config check
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcginty committed May 2, 2021
1 parent 5931ed5 commit 27cbf15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snapraid-aio-script.sh
@@ -1,5 +1,5 @@
#!/bin/bash
set -o pipefail
set -uo pipefail

########################################################################
#
Expand Down Expand Up @@ -66,8 +66,8 @@ function main(){
mkdwn_h2 "Postprocessing"
run_touch
if ((SMART_LOG)); then run_smart; fi
if ((SMART_STATUS)); then run_status; fi
if ((SMART_SPINDDOWN)); then run_spindown; fi
if ((SNAP_STATUS)); then run_status; fi
if ((SPINDOWN)); then run_spindown; fi
elog INFO "All jobs ended."
mkdwn_ruler
mkdwn_h2 "Total time elapsed for SnapRAID: $(elapsed)"
Expand Down

0 comments on commit 27cbf15

Please sign in to comment.