Fix time sync service
It is expected to not output anything on stdout. Especially remote end may be already terminated, so writing there would result in EPIPE. Fixes QubesOS/qubes-issues#1592
This commit is contained in:
parent
bd68fb973b
commit
0e062ff31e
@ -8,4 +8,4 @@ if [ $timediff -le 2 -a $timediff -ge -2 ]; then
|
|||||||
# don't bother
|
# don't bother
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
date -u -s "$timestamp"
|
date -u -s "$timestamp" >/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user