svn commit: r244639 - head/usr.sbin/pkg

Matthew Seaman matthew at FreeBSD.org
Sun Dec 23 20:39:04 UTC 2012


Author: matthew (ports committer)
Date: Sun Dec 23 20:39:03 2012
New Revision: 244639
URL: http://svnweb.freebsd.org/changeset/base/244639

Log:
  Remove extraneous space and new-line.
  
  Submitted by:	pjd, gcooper
  Approved by:	bapt
  MFC after:	2 weeks

Modified:
  head/usr.sbin/pkg/pkg.c

Modified: head/usr.sbin/pkg/pkg.c
==============================================================================
--- head/usr.sbin/pkg/pkg.c	Sun Dec 23 20:12:57 2012	(r244638)
+++ head/usr.sbin/pkg/pkg.c	Sun Dec 23 20:39:03 2012	(r244639)
@@ -457,8 +457,8 @@ main(__unused int argc, char *argv[])
 		 * a system is configured to use pkg, don't bootstrap pkg
 		 * when that argument is given as argv[1].
 		 */
-		if ( argv[1] != NULL && strcmp(argv[1], "-N") == 0)
-			errx(EXIT_FAILURE, "pkg is not installed\n");
+		if (argv[1] != NULL && strcmp(argv[1], "-N") == 0)
+			errx(EXIT_FAILURE, "pkg is not installed");
 
 		/*
 		 * Do not ask for confirmation if either of stdin or stdout is


More information about the svn-src-head mailing list