sadf
This commit is contained in:
parent
0be6df1172
commit
1ead555940
@ -228,7 +228,7 @@ const functions = {
|
|||||||
// set shutdown flag to 1
|
// set shutdown flag to 1
|
||||||
config.status.shutdown = 1;
|
config.status.shutdown = 1;
|
||||||
// Check if this was invoked from a 'quit' file, if so, delete the file
|
// Check if this was invoked from a 'quit' file, if so, delete the file
|
||||||
if (fs.existsSync('./quit')) fs.unlink('./quit', (err) => { throw err; });
|
if (fs.existsSync('./quit')) fs.unlink('./quit', (err) => { if (err) throw err; });
|
||||||
// If the auger is enabled, disable it
|
// If the auger is enabled, disable it
|
||||||
if (config.status.auger == 1) {
|
if (config.status.auger == 1) {
|
||||||
config.status.auger = 0;
|
config.status.auger = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user