]> git.tue.mpg.de Git - dss.git/commit
Fix the pre-create hook.
authorAndre Noll <maan@systemlinux.org>
Mon, 30 Mar 2009 10:49:03 +0000 (12:49 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 30 Mar 2009 10:49:03 +0000 (12:49 +0200)
commit381c57770c21974e190e52980a4936a060fc8696
tree63b9ef3b45ea55cf261c945368ffb363b4fd5039
parentd184cc0fa0368ca089b1ae6f2162ccfc224bf28c
Fix the pre-create hook.

Returning non-zero from the pre-create hook caused dss to exit with
"unexpected exit code" rather than waiting until the hook returns
zero.

Fix this bug and also reduce the verbostity of the log messages caused
by executing the pre-create hook: It should be enough to tell the user
only once per hour that no more snapshots are going to be created.
dss.c