From 220db6ec7e8dfda43d2988eeab236d09e7764ae7 Mon Sep 17 00:00:00 2001 From: Adrian Amaglio Date: Mon, 4 Jul 2022 16:35:26 +0200 Subject: [PATCH] add missing function --- ddg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ddg b/ddg index d54f882..558ab4a 100755 --- a/ddg +++ b/ddg @@ -1,5 +1,7 @@ #!/bin/sh +function join_by { local IFS="$1"; shift; echo "$*"; } + if [ "$#" -eq 0 ] ; then echo "WARNING! All your communication will bypass VPN and firewall!" su no-fw -c 'lynx http://detectportal.firefox.com'