diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-06 08:50:31 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-16 16:06:06 +0200 |
commit | 185acac3f4b5a61ca411070194588fc94ff23cfe (patch) | |
tree | 4b339052c96009d5c6707f5f5a043fa8ffa3e60c | |
parent | 019c359a7cb91647e30c0941d48054cdba1ef54e (diff) |
Fix: Exit code checking
This fixes shellcheck SC2181
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rwxr-xr-x | get-thin-edge_io.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/get-thin-edge_io.sh b/get-thin-edge_io.sh index b0feb6a3..1e1dd467 100755 --- a/get-thin-edge_io.sh +++ b/get-thin-edge_io.sh @@ -134,8 +134,8 @@ esac rm -R /tmp/tedge # Test if tedge command is there and working -tedge help >/dev/null -if [ $? -eq 0 ]; then +if tedge help >/dev/null; +then echo "\n${BLUE}thin-edge.io is now installed on your system!${COLORRESET}" echo "" echo "You can go to our documentation to find next steps:${BLUE} https://github.com/thin-edge/thin-edge.io/blob/main/docs/src/howto-guides/003_registration.md ${COLORRESET}" |