summaryrefslogtreecommitdiff
path: root/sys-apps/openrc/files/openrc-0.6.1-fix-clockskew-error-handling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/openrc/files/openrc-0.6.1-fix-clockskew-error-handling.patch')
-rw-r--r--sys-apps/openrc/files/openrc-0.6.1-fix-clockskew-error-handling.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/openrc-0.6.1-fix-clockskew-error-handling.patch b/sys-apps/openrc/files/openrc-0.6.1-fix-clockskew-error-handling.patch
new file mode 100644
index 00000000..2b666767
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-0.6.1-fix-clockskew-error-handling.patch
@@ -0,0 +1,12 @@
+diff -Naur openrc-0.6.1.a/init.d/savecache.in openrc-0.6.1.b/init.d/savecache.in
+--- openrc-0.6.1.a/init.d/savecache.in 2010-03-22 15:02:12.000000000 -0500
++++ openrc-0.6.1.b/init.d/savecache.in 2010-07-13 13:56:47.000000000 -0500
+@@ -10,7 +10,7 @@
+ ewarn "WARNING: clock skew detected!"
+ if ! yesno "savecache_skewed"; then
+ eerror "Not saving deptree cache"
+- return 1
++ return 0
+ fi
+ fi
+ ebegin "Saving dependency cache"