Commits

Augie Fackler  committed d9cc862

hg_rebase_all: fix exit status check

  • Participants
  • Parent commits 142fb39

Comments (0)

Files changed (1)

File .shell.d/50.hg_functions.sh

         if [ $? = 0 ] ; then
             echo 'moving on'
         else
-            if [ $out -ne 0 ] ; then
+            if [ $code -ne 0 ] ; then
                 echo "rebase exited with status $out"
                 return 3
             fi