[CalendarServer-changes] [4137] CalendarServer/trunk/contrib/migration/59_calendarmigrator.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 1 15:44:29 PDT 2009
Revision: 4137
http://trac.macosforge.org/projects/calendarserver/changeset/4137
Author: sagen at apple.com
Date: 2009-05-01 15:44:29 -0700 (Fri, 01 May 2009)
Log Message:
-----------
Don't error if caldavd launchd files didn't exist in previous system.
Modified Paths:
--------------
CalendarServer/trunk/contrib/migration/59_calendarmigrator.py
Modified: CalendarServer/trunk/contrib/migration/59_calendarmigrator.py
===================================================================
--- CalendarServer/trunk/contrib/migration/59_calendarmigrator.py 2009-05-01 21:12:23 UTC (rev 4136)
+++ CalendarServer/trunk/contrib/migration/59_calendarmigrator.py 2009-05-01 22:44:29 UTC (rev 4137)
@@ -70,9 +70,9 @@
log("Service '%s' was previously %s" %
(LAUNCHD_KEY, "disabled" if disabled else "enabled"))
except ServiceStateError, e:
- log("ERROR: Couldn't determine previous state of service '%s': %s" %
+ log("Couldn't determine previous state of service '%s': %s" %
(LAUNCHD_KEY, e))
- sys.exit(1)
+ sys.exit(0)
command = "stop" if disabled else "start"
try:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090501/ea9ef6ec/attachment.html>
More information about the calendarserver-changes
mailing list