From 4fbafaaa46aba852b44dd80f3bae5635ad17e476 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 26 Sep 2025 00:14:45 +0100 Subject: 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 --- include/init.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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 || :)" -- cgit v1.2.1