eBPF-based security platform
bpm: finish an uninstall whose package store is gone
John Fastabende4f325d48a0d
diff --git a/builtin-bpm.c b/builtin-bpm.cindex cccf50db..f21e6e5b 100644--- a/builtin-bpm.c+++ b/builtin-bpm.c@@ -2780,6 +2780,9 @@ static int package_uninstall(const struct bpm_state_entry *st)int store, ret;store = package_store_open();+ /* As for a package directory that is gone: nothing left to unload. */+ if (store == -ENOENT)+ return 0;if (store < 0)return store;ret = bpm_uninstall_at(store, st);