[readonly/geninitrd: 444/1068] - fix typo

draenog draenog at pld-linux.org
Sat Nov 2 19:49:41 CET 2013


commit b5f5c089b5a4ee391fe3eec462709ceeec95ad99
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Oct 16 16:24:12 2007 +0000

    - fix typo
    
    svn-id: @8819

 geninitrd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 1d75e7b..bb6cf71 100755
--- a/geninitrd
+++ b/geninitrd
@@ -96,7 +96,7 @@ debug() {
 
 # aborts program abnormally
 die() {
-	local rc={$2:-1}
+	local rc=${2:-1}
 	echo >&2 "$PROGRAM: ERROR: $1"
 	exit $rc
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090



More information about the pld-cvs-commit mailing list