Blame 0019-usrmount-module-setup.sh-fixed-typo.patch

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