diff options
| author | Tiezhu Yang <[email protected]> | 2022-11-18 09:50:01 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-11-18 22:55:02 +0000 |
| commit | ee748cd95e3adf4acdb05194b2ea68e4073e09b6 (patch) | |
| tree | 51ad9c2236c9d769b06450ea545298606f80a271 | |
| parent | bpf, docs: DEVMAPs and XDP_REDIRECT (diff) | |
| download | kernel-ee748cd95e3adf4acdb05194b2ea68e4073e09b6.tar.gz kernel-ee748cd95e3adf4acdb05194b2ea68e4073e09b6.zip | |
bpf, samples: Use "grep -E" instead of "egrep"
The latest version of grep (3.8+) claims the egrep is now obsolete so the
build now contains warnings that look like:
egrep: warning: egrep is obsolescent; using grep -E
Fix this up by moving the related file to use "grep -E" instead.
Signed-off-by: Tiezhu Yang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
| -rwxr-xr-x | samples/bpf/test_cgrp2_tc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/test_cgrp2_tc.sh b/samples/bpf/test_cgrp2_tc.sh index 12faf5847e22..395573be6ae8 100755 --- a/samples/bpf/test_cgrp2_tc.sh +++ b/samples/bpf/test_cgrp2_tc.sh @@ -115,7 +115,7 @@ do_exit() { if [ "$DEBUG" == "yes" ] && [ "$MODE" != 'cleanuponly' ] then echo "------ DEBUG ------" - echo "mount: "; mount | egrep '(cgroup2|bpf)'; echo + echo "mount: "; mount | grep -E '(cgroup2|bpf)'; echo echo "$CGRP2_TC_LEAF: "; ls -l $CGRP2_TC_LEAF; echo if [ -d "$BPF_FS_TC_SHARE" ] then |
