summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/common10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/common b/etc/common
index 7f988f1..f53dff2 100644
--- a/etc/common
+++ b/etc/common
@@ -198,11 +198,11 @@ hook () {
${HOOKSCR}
result=$?
set -e
- if [ ${result} -ne 0 ] ; then
- error "Back from hook $HOOKNR, got returncode ${result}"
- else
- log "Back from hook $HOOKNR, got returncode ${result}"
- fi
+ if [ ${result} -ne 0 ] ; then
+ error "Back from hook $HOOKNR, got returncode ${result}"
+ else
+ log "Back from hook $HOOKNR, got returncode ${result}"
+ fi
return $result
else
return 0