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