From 957f0f45462f921ee1fd3ad958a91916274e3db2 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 25 Feb 2011 18:57:36 +0100 Subject: Revert "etc/common" This reverts commit f27c79aa0d054e6841a229dcf0e32be58c76f72a. Reason: While I envisioned hooks to be scripts running whatever it needs then, it can be perfectly valid to just have a single command here, with arguments. and then one doesnt want "" Signed-off-by: Joerg Jaspert --- etc/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/common b/etc/common index 55beb9b..0fc319e 100644 --- a/etc/common +++ b/etc/common @@ -195,7 +195,7 @@ hook () { if [ -n "${HOOKSCR}" ]; then log "Running hook $HOOKNR: ${HOOKSCR}" set +e - "${HOOKSCR}" + ${HOOKSCR} result=$? set -e log "Back from hook $HOOKNR, got returncode ${result}" -- cgit v1.2.3