Author: glen
Date: Thu Aug  7 01:37:59 2008
New Revision: 9856

Modified:
   geninitrd/trunk/geninitrd
Log:
- avoid WARNING: ERROR: prefixes

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Thu Aug  7 01:37:59 2008
@@ -125,7 +125,7 @@
 # aborts program abnormally
 die() {
        local rc=${2:-1}
-       warn "ERROR: $1"
+       msg "ERROR: $1" 2>&2
        exit $rc
 }
 
@@ -396,7 +396,7 @@
 # install executable and it's shared libraries
 inst_exec() {
        if [ $# -lt 2 ]; then
-               die 'Usage: inst_exec <file> [, <file>] <destination>'
+               die 'Usage: inst_exec <file>[, <file>] <destination>'
        fi
        local src i=0 c=$(($# - 1))
        while [ $i -lt $c ]; do
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to