]> git.tuebingen.mpg.de Git - dss.git/commit - dss.c
Fix rm-hooks in case no post-remove hook was specified.
authorAndre Noll <maan@systemlinux.org>
Mon, 27 Apr 2009 18:19:11 +0000 (20:19 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 27 Apr 2009 18:19:11 +0000 (20:19 +0200)
commit723146898de138324dd6e421af05fd61c6cda848
treee973332cc8c2c19919ce917462f323ab46ef3a0a
parentd75434361fceedb4367a706e32442dd3a03a579c
Fix rm-hooks in case no post-remove hook was specified.

Without the patch the following assertion was triggered upon
removal of the second snapshot:

dss: dss.c:229: pre_remove_hook: Assertion `!snapshot_currently_being_removed' failed.

Thanks to Sebastian Stark who pointed out the issue.
dss.c