[PC-BSD Commits] r7878 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Fri Oct 22 10:22:24 PDT 2010


Author: kris
Date: 2010-10-22 10:22:24 -0700 (Fri, 22 Oct 2010)
New Revision: 7878

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Don't need to display output of expr test



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-10-22 15:14:22 UTC (rev 7877)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-10-22 17:22:24 UTC (rev 7878)
@@ -465,7 +465,7 @@
                         ;;
             --keep)     if [ $# -eq 1 ]; then usage_autob_pbi; fi
                         shift; PBI_AB_ARCHIVENUM="$1"
-			expr $PBI_AB_ARCHIVENUM + 1 2>/dev/null
+			expr $PBI_AB_ARCHIVENUM + 1 >/dev/null 2>/dev/null
 			if [ $? != 0 ] ; then usage_autob_pbi; fi
                         ;;
            --prune)     PBI_AB_PRUNE="YES" 



More information about the Commits mailing list