Skip to content

Commit

Permalink
Remove testaze if add-on was restarted during test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Dec 17, 2024
1 parent 6d6a711 commit 50eb45f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .templates/00-smb_mounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ test_mount () {
fi

# Exit if can't write
[[ -e "/mnt/$diskname/testaze" ]] && rm -r "/mnt/$diskname/testaze"
# shellcheck disable=SC2015
mkdir "/mnt/$diskname/testaze" && touch "/mnt/$diskname/testaze/testaze" && rm -r "/mnt/$diskname/testaze" || ERROR_MOUNT=true
if [[ "$ERROR_MOUNT" == "true" ]]; then
Expand Down

0 comments on commit 50eb45f

Please sign in to comment.