[Fai-commit] r3747 - trunk/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Wed Aug 2 14:43:59 UTC 2006


Author: lange
Date: 2006-08-02 14:43:58 +0000 (Wed, 02 Aug 2006)
New Revision: 3747

Modified:
   trunk/lib/subroutines
Log:
ifclass writes debug output to stderr


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2006-08-02 14:42:45 UTC (rev 3746)
+++ trunk/lib/subroutines	2006-08-02 14:43:58 UTC (rev 3747)
@@ -57,7 +57,7 @@
 
 ifclass() {
 
-    [ "$debug" ] && echo "Test if class $1 is in $classes"
+    [ "$debug" ] && echo "Test if class $1 is in $classes" >/dev/stderr
     # test if a class is defined
     local cl
     local ret=1
@@ -65,7 +65,7 @@
     for cl in $classes; do
 	[ x$cl = x$1 ] && ret=0 && break
     done
-    [ "$debug" ] && echo "ifclass returns $ret"
+    [ "$debug" ] && echo "ifclass returns $ret" >/dev/stderr
     return $ret
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -




More information about the Fai-commit mailing list