Skip to content

Commit

Permalink
oref0-set-system-clock for smb_enact_temp too
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed May 8, 2017
1 parent 89fff77 commit 964fbc7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/oref0-pump-loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@ function smb_enact_temp {
echo -n "enact/smb-enacted.json: " && cat enact/smb-enacted.json | jq -C -c .
) 2>&1 | egrep -v "^ |subg_rfspy|handler"
else
echo -n "No smb_enact needed. "
if grep incorrectly enact/suggested.json; then
echo "Checking system clock against pump clock:"
oref0-set-system-clock 2>&1 >/dev/null
else
echo -n "No smb_enact needed. "
fi
fi \
&& smb_verify_enacted
}
Expand Down

0 comments on commit 964fbc7

Please sign in to comment.