[Fai-commit] r6647 - trunk/lib

Thomas Lange lange at alioth.debian.org
Tue Sep 6 14:54:56 UTC 2011


Author: lange
Date: 2011-09-06 14:54:56 +0000 (Tue, 06 Sep 2011)
New Revision: 6647

Modified:
   trunk/lib/updatebase
Log:
fix wrong test


Modified: trunk/lib/updatebase
===================================================================
--- trunk/lib/updatebase	2011-09-01 11:19:47 UTC (rev 6646)
+++ trunk/lib/updatebase	2011-09-06 14:54:56 UTC (rev 6647)
@@ -23,7 +23,7 @@
     unset keys["$keyfile"]
 done
 
-if [ -n "${asclist[@]}" ]; then
+if [ ${#keys[@]} -ne 0 ]; then
     echo "Following signatures are not loaded:"
     for i in "${!keys[@]}"; do
 	echo "$i"




More information about the Fai-commit mailing list