install/lvm2: look for a add_systemd_unit "function" specifically
Replace command -v
with declare -F
to be consistent with the mdadm_udev
hook.
Redirect any potential stderr output to /dev/null too, since we only care about the return code.
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
Replace command -v
with declare -F
to be consistent with the mdadm_udev
hook.
Redirect any potential stderr output to /dev/null too, since we only care about the return code.