Commits

Ivan Andrus committed a61c86d

Fixed reporting of build success/failure

  • Participants
  • Parent commits 9546bb5

Comments (0)

Files changed (1)

File emacs/sage-build.el

        (lambda (status code msg)
 	 (if (eq status 'exit)
 	     (cond ((zerop code)
+		    '("finished (build succeeded)\n" . "build succeeded"))
+		   ((> code 0)
 		    '("finished (build failed)\n" . "build failed"))
-		   ((> code 0)
-		    '("finished (build succeeded)\n" . "build succeeded"))
 		   (t
 		    (cons msg code)))
 	   (cons msg code))))