init.sh: remove comment in pybin

the following checks on the path mitigates the
lack of error handling in the findpath command
that sets pypath.

this was all thought of when i initially wrote
this code. it's perfectly fine.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-09-26 00:14:45 +01:00
parent 204e310f5a
commit 4fbafaaa46
-2
View File
@@ -336,8 +336,6 @@ pybin()
# use the *real*, direct executable linked to by the venv symlink:
if [ $venv -gt 0 ] && [ -L "`command -v "$1" 2>/dev/null`" ]; then
# TODO: very sus; possible hole in error management:
pypath="$(findpath \
"$(command -v "$1" 2>/dev/null)" 2>/dev/null || :)"