diff --git a/config/bpfman-deployment/daemonset.yaml b/config/bpfman-deployment/daemonset.yaml index a6cf93d76..bbdea9981 100644 --- a/config/bpfman-deployment/daemonset.yaml +++ b/config/bpfman-deployment/daemonset.yaml @@ -43,7 +43,7 @@ spec: - -xc - | #!/bin/sh - if ! /bin/mount | /bin/grep -q 'bpffs on /sys/fs/bpf'; then + if ! /usr/bin/findmnt --noheadings --types bpf /sys/fs/bpf >/dev/null 2>&1; then /bin/mount bpffs /sys/fs/bpf -t bpf fi securityContext: