[Xfce4-commits] <xfce-git-hooks:master> fix missing '; then'

Brian J. Tarricone brian at tarricone.org
Wed Aug 12 21:48:01 CEST 2009


Updating branch refs/heads/master
         to 1dce31cd5467bd6665f24d7d941768dad76e9568 (commit)
       from 8b1e2988db144f4f045cc628281776a87115cf29 (commit)

commit 1dce31cd5467bd6665f24d7d941768dad76e9568
Author: Brian J. Tarricone <brian at tarricone.org>
Date:   Wed Aug 12 12:45:16 2009 -0700

    fix missing '; then'

 hooks/update-01-history-integrity |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hooks/update-01-history-integrity b/hooks/update-01-history-integrity
index b185baa..48077f3 100755
--- a/hooks/update-01-history-integrity
+++ b/hooks/update-01-history-integrity
@@ -50,7 +50,7 @@ case $refname in
       exit 1
     fi
 
-    if ! is_fast_forward $refname $newrev
+    if ! is_fast_forward $refname $newrev; then
       echo "Non-fast forward update not allowed for master branch." >&2
       exit 1
     fi
@@ -62,7 +62,7 @@ case $refname in
       exit 1
     fi
 
-    if ! is_fast_forward $refname $newrev
+    if ! is_fast_forward $refname $newrev; then
       echo "Non-fast forward update not allowed for xfce stable branches." >&2
       exit 1
     fi



More information about the Xfce4-commits mailing list