From e009ebf2785c376b23e5701e61957681410d9599 Mon Sep 17 00:00:00 2001 From: Francois Laupretre Date: Sat, 19 Aug 2023 14:31:30 +0000 Subject: [PATCH] shellcheck warning: remove 'function' keyword --- README.md | 2 +- tunnel.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fccf0a9..9de183b 100755 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ You can also provide your own shell script if your gateway is not supported yet. * [Outputs](#outputs) - + diff --git a/tunnel.sh b/tunnel.sh index a4f3716..9733e98 100755 --- a/tunnel.sh +++ b/tunnel.sh @@ -4,13 +4,13 @@ ret=0 #--- -function ps_is_busybox() +ps_is_busybox() { [ "$(readlink /bin/ps)" = "/bin/busybox" ] } #--- -function process_is_up() +process_is_up() { local pid ret