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

Aaron Griffin aaron at archlinux.org
Mon Feb 12 02:23:36 EST 2007


    Date: Monday, February 12, 2007 @ 02:23:36
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/src/pacman

Modified: pacman.c (1.93 -> 1.94)

Exit status of 2 seems wrong for -V


----------+
 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.93 pacman-lib/src/pacman/pacman.c:1.94
--- pacman-lib/src/pacman/pacman.c:1.93	Mon Feb 12 02:03:08 2007
+++ pacman-lib/src/pacman/pacman.c	Mon Feb 12 02:23:36 2007
@@ -405,7 +405,7 @@
 	}
 	if(config->version) {
 		version();
-		return(2);
+		return(0);
 	}
 
 	while(optind < argc) {




More information about the pacman-dev mailing list