Commit 72eab3ab authored by Stephan Großberndt's avatar Stephan Großberndt

[TASK] Add datetime to logging of hooks

parent 68b532b6
......@@ -5,6 +5,7 @@ HOOK_NAME=$(basename "$0")
{
echo "Executing ${HOOK_NAME} with arguments $*"
date
for file in "${HOOK}".d/*; do
if [[ -x "$file" ]]; then
echo "Executing $file:"
......
......@@ -5,6 +5,7 @@ HOOK_NAME=$(basename "$0")
{
echo "Executing ${HOOK_NAME} with arguments $*"
date
for file in "${HOOK}".d/*; do
if [[ -x "$file" ]]; then
echo "Executing $file:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment