]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
usrmount/module-setup.sh: fixed typo
authorAlexander Tsoy <alexander@tsoy.me>
Fri, 25 Oct 2013 15:06:44 +0000 (17:06 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:52:03 +0000 (11:52 +0200)
modules.d/98usrmount/module-setup.sh

index a6680693e1cc4c54cfc105926416ffe541586795..1dde9376fbe1cd0d7146e04afade214598344562 100755 (executable)
@@ -6,7 +6,7 @@ check() {
     local _init
     [[ $mount_needs ]] && return 1
     _init=$(readlink -f /sbin/init)
-    [[ "$init" == "${init##/usr}" ]] && return 255
+    [[ "$_init" == "${_init##/usr}" ]] && return 255
     return 0
 }