We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ef7fb0 commit 27a4d83Copy full SHA for 27a4d83
files/etc/init.d/https-dns-proxy
@@ -65,7 +65,7 @@ output_ok() { output "$_OK_"; }
65
output_okn() { output "${_OK_}\\n"; }
66
output_fail() { output "$_FAIL_"; }
67
output_failn() { output "${_FAIL_}\\n"; }
68
-str_contains() { [ -n "$1" ] &&[ -n "$2" ] && [ "${1//$2}" != "$1" ]; }
+str_contains() { [ "${1//$2}" != "$1" ]; }
69
str_contains_word() { echo "$1" | grep -qw "$2"; }
70
uci_add_list_if_new() {
71
local PACKAGE="$1"
0 commit comments