Blame SOURCES/0033-usrmount-module-setup.sh-fixed-typo.patch

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