manman-sync: fix enable
This commit is contained in:
parent
7a600a4378
commit
a7c8b3a8d8
@ -377,7 +377,7 @@ local function enable_sync(location, node)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then
|
if not uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then
|
||||||
uci:set('gluon-manman-sync', 'sync', 'enabled', false)
|
uci:set('gluon-manman-sync', 'sync', 'enabled', true)
|
||||||
print('Enabled sync.')
|
print('Enabled sync.')
|
||||||
print('Trigger with manman-sync sync')
|
print('Trigger with manman-sync sync')
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user