X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/git-hooks.git/blobdiff_plain/2ed8d68d8744dbc7819c3527b30c91eb5663a91c..0a9cf90391cf2ced2cf02b93c193e31ab0733569:/super/update diff --git a/super/update b/super/update index 29208ba..3e74b23 100755 --- a/super/update +++ b/super/update @@ -13,7 +13,7 @@ if [ -z "$GIT_DIR" ]; then exit 1 fi -if [ -z "$ref" -o -z "$oldrev" -o -z "$newrev" ]; then +if [ -z "$ref" ] || [ -z "$oldrev" ] || [ -z "$newrev" ]; then echo "Usage: $0 " >&2 exit 1 fi