Browse Source

mergerfs_webui.cpp

webui
Antonio SJ Musumeci 2 days ago
parent
commit
16b1d3ad71
  1. 6
      src/mergerfs_webui.cpp

6
src/mergerfs_webui.cpp

@ -35,6 +35,12 @@ _generate_error(const fs::path &mount_,
case -EROFS:
case -EINVAL;
case -EACCES:
rv["msg"] = fmt::format("mergerfs.webui (pid {}) is running as uid {}"
" which appears not to have access to modify the"
" mount's config.",
::getpid(),
::getuid());
break;
case -ENOTCONN:
rv["msg"] = fmt::format("It appears the mergerfs mount '{}' is in a bad state."
" mergerfs may have crashed.",

Loading…
Cancel
Save