Merge commit 'ffaa8c5685'
This commit is contained in:
commit
ea27e65e9f
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ function smartdnsRenderStatus(res) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isSmartdnsUiAvailable() {
|
function isSmartdnsUiAvailable() {
|
||||||
return fs.stat('/usr/lib/libsmartdns_ui.so').then(function (res) {
|
return fs.stat('/usr/lib/smartdns_ui.so').then(function (res) {
|
||||||
return res && res.type === 'file';
|
return res && res.type === 'file';
|
||||||
}).catch(function () {
|
}).catch(function () {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue