Skip to content
Permalink
Browse files

SetDateTime / SyncNtpClock do not echo to stderr / exit 1

to prevent systemd (logs) getting confused

https://phabricator.whonix.org/T384
  • Loading branch information...
adrelanos committed Apr 25, 2016
1 parent c0c3875 commit a738a685c911a816ea4bf9c0ee090edb777ef9e1
Showing with 1 addition and 7 deletions.
  1. +0 −4 etc/qubes-rpc/qubes.SetDateTime.anondist
  2. +1 −3 etc/qubes-rpc/qubes.SyncNtpClock.anondist
@@ -10,7 +10,3 @@
read timestamp
mkdir -p "/var/run/qubes-whonix"
echo "$timestamp" > "/var/run/qubes-whonix/qubes.SetDateTime"

echo "We do not want dom0 to tell us the time." >&2

exit 1
@@ -1,5 +1,3 @@
#!/bin/bash -e

echo "Whonix cannot be used as ClockVM yet. Contributions happily considered. Read more: https://phabricator.whonix.org/T387" >&2

exit 1
true "Whonix cannot be used as ClockVM yet. Contributions happily considered. Read more: https://phabricator.whonix.org/T387"

0 comments on commit a738a68

Please sign in to comment.
You can’t perform that action at this time.