@profullstack/threatcrush 0.12.2 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/daemon.js CHANGED
@@ -9187,7 +9187,7 @@ function explainBlockFailure(err, backend) {
9187
9187
  const denied = /not permitted|EACCES|EPERM|permission denied|must be root/i.test(raw);
9188
9188
  if (!denied) return `${raw} (backend: ${backend})`;
9189
9189
  const who = typeof process.getuid === "function" && process.getuid() === 0 ? "as root" : `as uid ${typeof process.getuid === "function" ? process.getuid() : "?"}`;
9190
- return `threatcrushd is running ${who} and cannot manage ${backend}. A ban is written by the daemon, not by whoever asked for it \u2014 run the daemon as root: sudo threatcrush install-service && sudo systemctl enable --now threatcrushd`;
9190
+ return `threatcrushd is running ${who} and cannot manage ${backend}. A ban is written by the daemon, not by whoever asked for it. Fix it with one command, which asks for root itself: threatcrush install-service`;
9191
9191
  }
9192
9192
  var RemediationManager = class {
9193
9193
  constructor(adapter, bus2, config) {