From 04ec13e4dca5477527009dec2f0bb578cb0308e8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 5 Apr 2010 21:58:30 +0200 Subject: [PATCH] Make all hooks default to /bin/true. This way, we can always execute the hook which should simplify the code a bit. --- dss.ggo | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dss.ggo b/dss.ggo index 09e345d..7934db3 100644 --- a/dss.ggo +++ b/dss.ggo @@ -268,6 +268,7 @@ option "pre-create-hook" r #~~~~~~~~~~~~~~~~~~~~~~~~~~ "Executed before snapshot creation" string typestr="command" +default = "/bin/true" optional details=" Execute this command before trying to create a new snapshot. @@ -286,6 +287,7 @@ option "post-create-hook" o #~~~~~~~~~~~~~~~~~~~~~~~~~~ "Executed after snapshot creation" string typestr="command" +default = "/bin/true" optional details=" Execute this after a snapshot has successfully been @@ -302,6 +304,7 @@ option "pre-remove-hook" - #~~~~~~~~~~~~~~~~~~~~~~~~~~ "Executed before snapshot removal" string typestr="command" +default = "/bin/true" optional details=" Execute this command before removing a snapshot. The full @@ -323,6 +326,7 @@ option "post-remove-hook" - #~~~~~~~~~~~~~~~~~~~~~~~~~~ "Executed after snapshot removal" string typestr="command" +default = "/bin/true" optional details=" Execute this after a snapshot has successfully been removed. As @@ -335,6 +339,7 @@ option "exit-hook" e #~~~~~~~~~~~~~~~~~~~ "Executed if run command exits" string typestr="command" +default = "/bin/true" optional details=" This hook is only used if the --run command was given which -- 2.39.2