sandbox: better logging

This commit is contained in:
Robert Swiecki 2023-10-21 23:36:00 +02:00
parent 84f6d75d26
commit e67e8dc2f1

View File

@ -91,9 +91,8 @@ bool preparePolicy(nsjconf_t* nsjconf) {
return true; return true;
} }
if (!nsjconf->kafel_file_path.empty() && !nsjconf->kafel_string.empty()) { if (!nsjconf->kafel_file_path.empty() && !nsjconf->kafel_string.empty()) {
LOG_W( LOG_W("You specified both kafel seccomp policy, and kafel seccomp file. Specify "
"You specified both kafel seccomp policy, and kafel seccomp file. Specify one " "one only");
"only");
return false; return false;
} }