Skip to content

Commit

Permalink
Remove set -euo pipefail as ./scripts/stop could fail (e.g. Docke…
Browse files Browse the repository at this point in the history
…r endpoint error) and then fails to shutdown/reboot (#93)

Closes #54

Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
  • Loading branch information
nevets963 and Steven Briscoe authored Sep 14, 2022
1 parent 6bb3697 commit dffd376
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion events/triggers/reboot
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail

./scripts/stop
shutdown -r now
1 change: 0 additions & 1 deletion events/triggers/shutdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail

./scripts/stop
shutdown -h now

0 comments on commit dffd376

Please sign in to comment.