Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tom Yan
archiso
Commits
5738f40a
Verified
Commit
5738f40a
authored
Sep 16, 2021
by
nl6720
Browse files
mkarchiso: redirect command -v output to /dev/null
The output is irrelevant, we only need the return code. Related to #148.
parent
ad6d65ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
archiso/mkarchiso
View file @
5738f40a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment