]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
init: fixed emergency_shell argument parsing
authorHarald Hoyer <harald@redhat.com>
Wed, 20 Jan 2010 15:04:55 +0000 (16:04 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 20 Jan 2010 15:04:55 +0000 (16:04 +0100)
modules.d/99base/init

index 8dc00a9cf093b1e0e4af06942d6636bfb8208c19..ab033a7621503b1abc698bfcd05a4bad242f7b37 100755 (executable)
@@ -35,7 +35,7 @@ wait_for_loginit()
 
 emergency_shell()
 {
-    if [ $1 = "-n" ]; then
+    if [ "$1" = "-n" ]; then
         _rdshell_name=$2
         shift 2 
     else