Skip to content

Commit

Permalink
Merge pull request #8 from 007revad/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
007revad authored Apr 13, 2024
2 parents 1dcda76 + acefc93 commit 44fc25a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v0.0.7-beta
- Minor bug fix (forgot to stop script if there are no RAID arrays that need assembling).

v0.0.6-beta
- Now checks if there are RAID arrays that need assembling before continuing.

Expand Down
5 changes: 3 additions & 2 deletions syno_recover_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
mount_path="/home/ubuntu"


scriptver="v0.0.6"
scriptver="v0.0.7"
script=Synology_Recover_Data
#repo="007revad/Synology_Recover_Data"
#scriptname=syno_recover_data
Expand Down Expand Up @@ -83,7 +83,8 @@ for d in "${array[@]}"; do
fi
done
if [[ ${#devices[@]} -lt "1" ]]; then
echo "No RAID arrays found that need mounting."
echo "No RAID arrays found that need mounting!"
exit 1 # No arrays to assemble
#else
# echo "${#devices[@]} suitable RAID arrays found."
fi
Expand Down

0 comments on commit 44fc25a

Please sign in to comment.