diff --git a/main.js b/main.js index a50f2c2..9354beb 100644 --- a/main.js +++ b/main.js @@ -70,7 +70,7 @@ async function main(fn, gpio) { break; case "quit": // Quit the script - fn.commands.quit(); + fn.commands.shutdown(gpio); break; case "ignite": // Start the igniter and timer