summaryrefslogtreecommitdiff
path: root/include/init.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-26 00:14:45 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-26 00:14:45 +0100
commit4fbafaaa46aba852b44dd80f3bae5635ad17e476 (patch)
treeb63997e7afd39ed496f0bdc2498d0affa7df8472 /include/init.sh
parent204e310f5a0ff51e53bd481d6eaa135fc629618e (diff)
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>
Diffstat (limited to 'include/init.sh')
-rw-r--r--include/init.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/init.sh b/include/init.sh
index ed60bfc2..49f126eb 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -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 || :)"