mirror of
https://github.com/schoebel/mars
synced 2025-04-01 22:58:34 +00:00
main: disable fetch during detach
This commit is contained in:
parent
48fa210272
commit
198ca61093
@ -1925,9 +1925,9 @@ int _update_file(struct mars_dent *parent, const char *switch_path, const char *
|
||||
make_msg(msg_pair, "disabling fetch from unspecified peer / no primary designated");
|
||||
do_start = false;
|
||||
}
|
||||
if (do_start && !global->global_power.button) {
|
||||
MARS_DBG("disabling fetch due to rmmod\n");
|
||||
make_msg(msg_pair, "disabling fetch due to rmmod");
|
||||
if (do_start && !_check_allow(rot->global, rot->parent_path, "attach")) {
|
||||
MARS_DBG("disabling fetch due to detach / rmmod\n");
|
||||
make_msg(msg_pair, "disabling fetch due to detach / rmmod");
|
||||
do_start = false;
|
||||
}
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user