add missing function

This commit is contained in:
Adrian Amaglio 2022-07-04 16:35:26 +02:00
parent a790ca3fc8
commit 220db6ec7e

2
ddg
View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
function join_by { local IFS="$1"; shift; echo "$*"; }
if [ "$#" -eq 0 ] ; then if [ "$#" -eq 0 ] ; then
echo "WARNING! All your communication will bypass VPN and firewall!" echo "WARNING! All your communication will bypass VPN and firewall!"
su no-fw -c 'lynx http://detectportal.firefox.com' su no-fw -c 'lynx http://detectportal.firefox.com'