aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rw-r--r--hooks/demos/elog.bash.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/hooks/demos/elog.bash.in b/hooks/demos/elog.bash.in
index 98d1261ae..ee7fdbfdc 100644
--- a/hooks/demos/elog.bash.in
+++ b/hooks/demos/elog.bash.in
@@ -54,6 +54,8 @@ case "${HOOK}" in
"Use of elog.bash in phase \"${HOOK}\" is deprecated, see comments at beginning of file for updated instructions"
fi
+ ${PRETEND} && exit 0
+
rm -f "${logfile}"
touch "${logfile}" || die "Couldn't create '${logfile}' for elog hooks"
if [[ -n "${PALUDIS_REDUCED_GID}" ]] ; then