Re-hide the scary error messages that aren't actually errors.

This commit is contained in:
Herbert Wolverson 2023-03-13 20:03:27 +00:00
parent 9ba5bb2628
commit 73ee423592

View File

@ -74,7 +74,6 @@ pub fn unload_xdp_from_interface(interface_name: &str) -> Result<()> {
fn set_strict_mode() -> Result<()> {
let err = unsafe { libbpf_set_strict_mode(LIBBPF_STRICT_ALL) };
#[cfg(release)]
unsafe {
bpf::do_not_print();
}