[Fai-commit] r5230 - in trunk: debian lib

lange at alioth.debian.org lange at alioth.debian.org
Thu Dec 18 16:21:30 UTC 2008


Author: lange
Date: 2008-12-18 16:21:30 +0000 (Thu, 18 Dec 2008)
New Revision: 5230

Modified:
   trunk/debian/changelog
   trunk/lib/get-boot-info
Log:
get-boot-info: fix wrong test parameter (closes: #509090)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-12-17 01:56:45 UTC (rev 5229)
+++ trunk/debian/changelog	2008-12-18 16:21:30 UTC (rev 5230)
@@ -9,6 +9,7 @@
   * dhcpd.conf/FAISERVER: fix wrong path in example
   * links.html: fix typo (closes: #508598)
   * fai-guide.sgml: fix package name in documentation (closes: #504797)
+  * get-boot-info: fix wrong test parameter (closes: #509090)
   
   [ Colin Tuckley ]
   * fixed spelling mistakes in fai-do-scripts.1, fai-mirror.1
@@ -17,7 +18,7 @@
   * fai-guide.sgml: fix several typos, mention Git, use $FAI instead of
     /fai (closes: #507129)
   
- -- Thomas Lange <lange at debian.org>  Wed, 17 Dec 2008 02:55:41 +0100
+ -- Thomas Lange <lange at debian.org>  Thu, 18 Dec 2008 17:21:00 +0100
 
 fai (3.2.14) unstable; urgency=low
 

Modified: trunk/lib/get-boot-info
===================================================================
--- trunk/lib/get-boot-info	2008-12-17 01:56:45 UTC (rev 5229)
+++ trunk/lib/get-boot-info	2008-12-18 16:21:30 UTC (rev 5230)
@@ -122,7 +122,7 @@
 boot=0
 
 # when using live-initramfs
-if [ -d /var/log/live.log ]; then
+if [ -f /var/log/live.log ]; then
     grep IP-Config /var/log/live.log | grep -q "DHCP" && get_dhcp_info
     grep IP-Config /var/log/live.log | grep -q "BOOTP" && get_bootp_info
 else




More information about the Fai-commit mailing list