Skip to content

Commit 4f92c8b

Browse files
authored
Update snapraid-aio-script.sh
Fix running the script with the automatic Snapraid cdetection
1 parent 78e18ae commit 4f92c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snapraid-aio-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ search_conf_files() {
11641164
# Run SnapRAID status to check for the previous sync
11651165
check_snapraid_status() {
11661166
# Run snapraid status command and capture the output
1167-
local snapraid_status_output=$($SNAPRAID_BIN status)
1167+
local snapraid_status_output=$($SNAPRAID_BIN status -c "$SNAPRAID_CONF")
11681168

11691169
# Check for the "No sync is in progress" message
11701170
if echo "$snapraid_status_output" | grep -q "No sync is in progress"; then

0 commit comments

Comments
 (0)