Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-09-16 10:50:02 +0300
committernl6720 <nl6720@gmail.com>2021-11-05 12:44:01 +0200
commit5738f40aa94c97dc5393703900a20ae2f79b2045 (patch)
tree538dbcb1101c294119aecc8eeac1d781fdbb6533
parentad6d65ab875c9a1ea6edea9e6b1ba99be4932cae (diff)
mkarchiso: redirect command -v output to /dev/null
The output is irrelevant, we only need the return code. Related to #148.
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index eb30e04..38aad06 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -748,7 +748,7 @@ _validate_requirements_airootfs_image_type_ext4+squashfs() {
}
_validate_requirements_airootfs_image_type_erofs() {
- if ! command -v mkfs.erofs; then
+ if ! command -v mkfs.erofs &> /dev/null; then
(( validation_error=validation_error+1 ))
_msg_error "Validating '${airootfs_image_type}': mkfs.erofs is not available on this host. Install 'erofs-utils'!" 0
fi