summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_OPNFV-mirror.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_OPNFV-mirror.sh b/update_OPNFV-mirror.sh
index 7081cde8..387bea6d 100755
--- a/update_OPNFV-mirror.sh
+++ b/update_OPNFV-mirror.sh
@@ -108,7 +108,7 @@ syncRepos()
checkinMirror()
{
- if ask "Would you like to push the repo changes to Github?"
+ if ask "Would you like to push the repo changes to Github?"; then
cd $DEVROOT/$GITHUB_REPO
git add --all .
git commit -m \"Updating to Gerrit commit id $lastCommit\"