[pacman-dev] CVS update of pacman-lib/src/pacman (pacman.c)

Aaron Griffin aaron at archlinux.org
Mon Feb 12 20:37:48 EST 2007


    Date: Monday, February 12, 2007 @ 20:37:48
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/src/pacman

Modified: pacman.c (1.94 -> 1.95)

Reverted the exit 2 -> exit 0 change.  This was there for a reason (so that
pacman didn't check targets and spit out an error message).


----------+
 pacman.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Index: pacman-lib/src/pacman/pacman.c
diff -u pacman-lib/src/pacman/pacman.c:1.94 pacman-lib/src/pacman/pacman.c:1.95
--- pacman-lib/src/pacman/pacman.c:1.94	Mon Feb 12 02:23:36 2007
+++ pacman-lib/src/pacman/pacman.c	Mon Feb 12 20:37:48 2007
@@ -405,7 +405,7 @@
 	}
 	if(config->version) {
 		version();
-		return(0);
+		return(2);
 	}
 
 	while(optind < argc) {




More information about the pacman-dev mailing list