From: Andre Noll Date: Mon, 5 Apr 2010 19:58:30 +0000 (+0200) Subject: Make all hooks default to /bin/true. X-Git-Tag: v0.1.4~4^2~1 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=04ec13e4dca5477527009dec2f0bb578cb0308e8;p=dss.git Make all hooks default to /bin/true. This way, we can always execute the hook which should simplify the code a bit. --- 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