712866
From 352a49a21d5093955e45c0ccb84c258d4b375aad Mon Sep 17 00:00:00 2001
712866
From: Alexander Tsoy <alexander@tsoy.me>
712866
Date: Fri, 25 Oct 2013 17:06:44 +0200
712866
Subject: [PATCH] usrmount/module-setup.sh: fixed typo
712866
712866
---
712866
 modules.d/98usrmount/module-setup.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/98usrmount/module-setup.sh b/modules.d/98usrmount/module-setup.sh
5c6c2a
index a6680693..1dde9376 100755
712866
--- a/modules.d/98usrmount/module-setup.sh
712866
+++ b/modules.d/98usrmount/module-setup.sh
712866
@@ -6,7 +6,7 @@ check() {
712866
     local _init
712866
     [[ $mount_needs ]] && return 1
712866
     _init=$(readlink -f /sbin/init)
712866
-    [[ "$init" == "${init##/usr}" ]] && return 255
712866
+    [[ "$_init" == "${_init##/usr}" ]] && return 255
712866
     return 0
712866
 }
712866