diff options
-rwxr-xr-x | backup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ exclude_mountpoints() { while read line; do local mountpoint=$(echo "$line" | cut -d\ -f2 | sed 's#\040# #g;') - if ! in_array $mountpoint "${includeMountpoints[@]}"; then + if ! in_array "$mountpoint" "${includeMountpoints[@]}"; then if ! in_array_startswith "$mountpoint/" "${excludeMountpoints[@]/%//}"; then error=1 echo "Warning: mountpoint not excluded or included: $mountpoint" >&2 |