Skip to content

Commit

Permalink
Merge pull request #6 from nliviu/patch-1
Browse files Browse the repository at this point in the history
Fix Sys.Reboot
  • Loading branch information
cpq authored May 16, 2019
2 parents 237ecfd + 2340d61 commit 9310b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Shadow.addHandler(function(event, obj) {
} else if (key === 'reboot') {
state.reboot = obj.reboot; // Reboot button clicked: that
Timer.set(750, 0, function() { // incremented 'reboot' counter
Sys.reboot(); // Sync and schedule a reboot
Sys.reboot(500); // Sync and schedule a reboot
}, null);
}
}
Expand Down

0 comments on commit 9310b83

Please sign in to comment.