[Koha-bugs] [Bug 6997] koha-remove leaves system in inconsistent state if there is an error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 10 14:10:27 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6997

--- Comment #1 from Jared Camins-Esakov <jcamins at cpbibliography.com> 2011-10-10 12:10:27 UTC ---
Created attachment 5825
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5825
Bug 6997: Koha-remove leaves system in inconsistent state

If you accidentally delete one of the files that koha-remove is supposed to
remove, when koha-remove reaches that point in the script, it will die, leaving
later removal steps undone. This patch fixes the problem by checking for the
existence of each file prior to deleting it, so that short of an actual problem
with removing the file, the script can continue. Note that the fix for bug 6929
is also needed to prevent any problems with stopping Zebra from killing
koha-remove.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list