Skip to content

Commit

Permalink
Merge pull request mendersoftware#833 from lluiscampos/2.6.x-MEN-4851…
Browse files Browse the repository at this point in the history
…-grep-busybox

2.6.x: MEN-4851: mender-inventory-network: Use short command line options
  • Loading branch information
lluiscampos authored Jul 9, 2021
2 parents 55b7a33 + d161c0c commit ec52715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/mender-inventory-network
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for devpath in $SCN/*; do
continue
fi
if [ "${INCLUDE_DOCKER_INTERFACES}" = "false" ]; then
if echo $dev | grep --quiet --extended-regexp '^(br-.*|docker.*|veth.*)'; then
if echo $dev | grep -q -E '^(br-.*|docker.*|veth.*)'; then
continue
fi
fi
Expand Down

0 comments on commit ec52715

Please sign in to comment.