From 766d0c7a2855d8d25a41fc70cc126760b6912890 Mon Sep 17 00:00:00 2001 From: Francois Laupretre Date: Mon, 28 Oct 2024 15:28:05 +0000 Subject: [PATCH] Fix issue #46: tunnel.sh crashes on ps program check --- tunnel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tunnel.sh b/tunnel.sh index cb2ad43..4f0664c 100755 --- a/tunnel.sh +++ b/tunnel.sh @@ -6,6 +6,7 @@ ret=0 ps_is_busybox() { +test -h /bin/ps || return 1 [ "$(readlink /bin/ps)" = "/bin/busybox" ] } #---