Skip to content

Commit 19aed94

Browse files
committed
quote @
1 parent 39f1c9e commit 19aed94

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ jobs:
8484
echo "#!/bin/bash
8585
sudonot() {
8686
if command -v sudo >/dev/null; then
87-
sudo ${@:-:} || ${@:-:}
87+
sudo "${@:-:}" || "${@:-:}"
8888
else
89-
${@:-:}
89+
"${@:-:}"
9090
fi
9191
}
9292
sudonot apt-get update

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Keep in mind that:
4646
- Unbound connects to Cloudflare's servers using DoT by default, but you can uncomment its volume in `compose.yml` to use it as a recursive resolver.
4747
- To configure Pi-hole more extensively, such as by enabling DHCP, see the [Pi-hole documentation](https://github.com/pi-hole/docker-pi-hole/tree/2024.07.0?tab=readme-ov-file#environment-variables).
4848
- The hooks may be useful, for example, if you'd like to coordinate with an external, outbound VPN on a Hub or SaaH. All arguments given to `start.sh`and `stop.sh` are passed to their respective hooks.
49-
- For AP+STA mode, define as many `[email protected]` files as bands your device supports, where X is an integer band.
49+
- For AP+STA mode, define as many `X@[iface].conf` files as bands the device supports, where X is an integer band.
5050

5151
> [!NOTE]
5252
> The WireGuard service in the Compose file must be configured whether or not you'll use Docker ([docs](https://docs.linuxserver.io/images/docker-wireguard)).

init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
sudonot() {
55
# shellcheck disable=SC2068
66
if command -v sudo >/dev/null; then
7-
sudo ${@:-:} || ${@:-:}
7+
sudo "${@:-:}" || "${@:-:}"
88
else
9-
${@:-:}
9+
"${@:-:}"
1010
fi
1111
}
1212

lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ user_exists() { id "$1" &>/dev/null; }
4040

4141
sudo() {
4242
if command -v sudo >/dev/null; then
43-
command sudo ${@:-:} || ${@:-:}
43+
command sudo "${@:-:}" || "${@:-:}"
4444
else
45-
${@:-:}
45+
"${@:-:}"
4646
fi
4747
}
4848

0 commit comments

Comments
 (0)