mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-12-26 04:01:00 +03:00
fix bug
This commit is contained in:
parent
108c37cb5d
commit
d22983121a
@ -74,7 +74,7 @@ function _update_vestasync() {
|
||||
captureOutput: true,
|
||||
exitCallback: function (exitCode, capturedOutput) {
|
||||
var isEnabled = capturedOutput.trim() === "active";
|
||||
dev.vestasync.autopush_inotify = isEnabled;
|
||||
getControl("vestasync/autopush_inotify").setValue({ value: isEnabled, notify: false })
|
||||
}
|
||||
});
|
||||
|
||||
@ -82,7 +82,7 @@ function _update_vestasync() {
|
||||
captureOutput: true,
|
||||
exitCallback: function (exitCode, capturedOutput) {
|
||||
var isEnabled = capturedOutput.trim() === "active";
|
||||
dev.vestasync.autopush_timer = isEnabled;
|
||||
getControl("vestasync/autopush_inotify").setValue({ value: isEnabled, notify: false })
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user