dmvolume_exists has this loop /sbin/dmsetup ls 2>/dev/null | \ while read line ; do for x in ${line} ; do [[ ${x} == "${volume}" ]] && return 0 # We only want to check the volume name break done done return 1 The intention is that the "return 0" inside the loop causes the function to return with value 0. However, as this loop is being run in a pipe, the return only causes exit out of the loop, meaning that this function *always* returns 1.
Created attachment 100958 [details, diff] fix
nobody at the moment cares about this package ... ive just been bumping it for users if you care, add the fix yourself :p
ok, done