commit | 62ac9d5e03bbe0744eeb54075713a726e5ac81f0 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Apr 14 09:00:05 2023 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Apr 14 16:27:12 2023 +0000 |
tree | e808e17318d3a6789bb7ae584ba50ce290de752a | |
parent | 588267188c50be4bd3dd9f4b23e777705d91dd27 [diff] |
meta-google: networking: fix shellcheck warnings Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7ae5c315d5a938b29c6fd5d68f07225d125ccead
diff --git a/meta-google/recipes-google/networking/network-sh/lib.sh b/meta-google/recipes-google/networking/network-sh/lib.sh index e4acc67..1d217c2 100644 --- a/meta-google/recipes-google/networking/network-sh/lib.sh +++ b/meta-google/recipes-google/networking/network-sh/lib.sh
@@ -289,6 +289,7 @@ } network_init=1 -return 0 2>/dev/null -echo "network is a library, not executed directly" >&2 -exit 1 +if ! (return 0 2>/dev/null); then + echo "network is a library, not executed directly" >&2 + exit 1 +fi