Merge commit 'ffaa8c5685b528642093bdc501d1c1951c59d74c'
This commit is contained in:
commit
ea27e65e9f
|
@ -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…
Reference in a new issue