Skip to content

Commit

Permalink
refresh status.json before checking it
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Jun 28, 2017
1 parent a7885e9 commit 3a68339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/oref0-pump-loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ smb_main() {
&& touch monitor/pump_loop_completed -r monitor/pump_loop_enacted \
&& echo \
); do
smb_verify_status
if grep -q '"suspended": true' monitor/status.json; then
echo -n "Pump suspended; "
unsuspend_if_no_temp
Expand Down

0 comments on commit 3a68339

Please sign in to comment.