diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-06 08:47:45 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-16 16:06:01 +0200 |
commit | 019c359a7cb91647e30c0941d48054cdba1ef54e (patch) | |
tree | 9474c3b3ddaa78d408f1ae08ce69ed1c3eba6137 | |
parent | 7675aa9c4e5748212b410fb847d255f259608af6 (diff) |
Fix: POSIX sh does not know &>
We're running on /bin/sh here, and that's most likely a POSIX `sh`
binary. POSIX `sh` does not know about `&>`.
This patch fixes this to be POSIX compatible.
This fixes shellcheck SC3020
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rwxr-xr-x | get-thin-edge_io.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/get-thin-edge_io.sh b/get-thin-edge_io.sh index 394f4b2e..b0feb6a3 100755 --- a/get-thin-edge_io.sh +++ b/get-thin-edge_io.sh @@ -121,7 +121,7 @@ minimal) install_basic_components ;; full) install_basic_components install_tedge_agent - if apt -v &>/dev/null; then + if apt -v >/dev/null 2>&1; then install_tedge_plugins fi ;; |