mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
Updated file search to enclose path with quotes
This commit is contained in:
parent
0851654ec8
commit
b658ebf2a2
@ -2239,7 +2239,7 @@ function createMeshCore(agent) {
|
|||||||
}
|
}
|
||||||
case 'findfile': {
|
case 'findfile': {
|
||||||
// Search for files
|
// Search for files
|
||||||
var r = require('file-search').find(cmd.path, cmd.filter);
|
var r = require('file-search').find('"' + cmd.path + '"', cmd.filter);
|
||||||
if (!r.cancel) { r.cancel = function cancel() { this.child.kill(); }; }
|
if (!r.cancel) { r.cancel = function cancel() { this.child.kill(); }; }
|
||||||
this._search = r;
|
this._search = r;
|
||||||
r.socket = this;
|
r.socket = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user