refactor: standardize on shorthand for redirecting all output to /dev/null
The shorthand is more prevalent in this codebase, and is something that bash supports, so we should just use the same thing everywhere. Note that we do not use shorthand redirect in Makefile as shell parsing is a bit different in Make and the shorthand redirect doesn't seem to be properly supported, causing CI errors.
This commit is contained in:
1 parent
dac566e75e
commit
ef25a9b0d8
20 files changed
+30
-30
No files matched your search
@@ -24,7 +24,7 @@ trigger-scheduler-docker-local-scheduler-logs-failed() {
|
||||
while read -r LINE || [[ -n "$LINE" ]]; do
|
||||
CID="$(echo "$LINE" | cut -d ' ' -f1)"
|
||||
PREFIX="$(echo "$LINE" | cut -d ' ' -f2)"
|
||||
if "$DOCKER_BIN" container inspect "${CID}" >/dev/null 2>&1; then
|
||||
if "$DOCKER_BIN" container inspect "${CID}" &>/dev/null; then
|
||||
RUNNING_CONTAINERS+=("$CID")
|
||||
else
|
||||
DEAD_CONTAINERS+=("$CID")
|
||||
|
||||
Reference in new issue
Block a user