]> 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>
Fri, 25 Oct 2013 15:06:44 +0000 (17:06 +0200)
modules.d/98usrmount/module-setup.sh

index 1af789f0294671c3afb39ea113d90ad5b2a8a585..d8a0ec23fd4352e4bd1957b2f71d170d51742915 100755 (executable)
@@ -7,7 +7,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
 }