]> gitweb.fluxo.info Git - bootless.git/commitdiff
Fix: dependency check output redirection
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 10 Feb 2026 23:42:36 +0000 (20:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 10 Feb 2026 23:42:36 +0000 (20:42 -0300)
files/bootless

index 60c649ebfdd9c757c0bc1c3315aa61a8aa49bf8b..7c7804789ab77e21a97846399682f527bd0594c3 100755 (executable)
@@ -219,7 +219,7 @@ function bootless_check {
 # Check dependencies
 function bootless_check_dependencies {
   for dependency in $DEPENDENCIES; do
-    if ! which $dependency 2> /dev/null; then
+    if ! which $dependency &> /dev/null; then
       echo "$NAME: unmet dependency $dependency, please install it"
       exit 1
     fi