diff --git a/src/func.cpp b/src/func.cpp index af2edc37..c8db1998 100644 --- a/src/func.cpp +++ b/src/func.cpp @@ -27,6 +27,8 @@ Func::Base::Action::from_string(const std::string_view policyname_) if(!new_policy) return -EINVAL; + policy = new_policy; + return 0; }