commit
64ae5cf5a1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ var spawnUpdate = function (args, detached, callback) {
|
||||||
// Process spawned, different args: Return with error
|
// Process spawned, different args: Return with error
|
||||||
// No process spawned: Spawn new process
|
// No process spawned: Spawn new process
|
||||||
if (spawnedProcess && !isSameArgs(args)) {
|
if (spawnedProcess && !isSameArgs(args)) {
|
||||||
return callback('AutoUpdater process with arugments ' + args + ' is already running')
|
return callback('AutoUpdater process with arguments ' + args + ' is already running')
|
||||||
} else if (!spawnedProcess) {
|
} else if (!spawnedProcess) {
|
||||||
spawnedProcess = spawn(updateExe, args, {
|
spawnedProcess = spawn(updateExe, args, {
|
||||||
detached: detached
|
detached: detached
|
||||||
|
|
Loading…
Reference in a new issue