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
このコミットが含まれているのは:
Marek Marczykowski-Górecki 2016-01-07 05:06:39 +01:00
コミット 0e062ff31e
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 063938BA42CFA724

ファイルの表示

@ -8,4 +8,4 @@ if [ $timediff -le 2 -a $timediff -ge -2 ]; then
# don't bother
exit 0
fi
date -u -s "$timestamp"
date -u -s "$timestamp" >/dev/null