Commit 000dd781 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gpull: fix result output

parent ed0959b8
......@@ -71,7 +71,7 @@ fi
if [ -n "$CHECKONLY" ] ; then
echocon "Pull repo from $REPO"
UPTODATEres=`git pull --rebase $REPO $@ 2>&1`
echocon $UPTODATEres
echocon "$UPTODATEres"
echo $UPTODATEres | tail -n1 | grep -q "is up to date"
exit
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment