diff options
Diffstat (limited to '0019-usrmount-module-setup.sh-fixed-typo.patch')
-rw-r--r-- | 0019-usrmount-module-setup.sh-fixed-typo.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/0019-usrmount-module-setup.sh-fixed-typo.patch b/0019-usrmount-module-setup.sh-fixed-typo.patch new file mode 100644 index 0000000..4cbedd5 --- /dev/null +++ b/0019-usrmount-module-setup.sh-fixed-typo.patch @@ -0,0 +1,22 @@ +From 0106da599a227cf1c28c3648b7e77985f617b878 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy <alexander@tsoy.me> +Date: Fri, 25 Oct 2013 17:06:44 +0200 +Subject: [PATCH] usrmount/module-setup.sh: fixed typo + +--- + modules.d/98usrmount/module-setup.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/98usrmount/module-setup.sh b/modules.d/98usrmount/module-setup.sh +index 1af789f..d8a0ec2 100755 +--- a/modules.d/98usrmount/module-setup.sh ++++ b/modules.d/98usrmount/module-setup.sh +@@ -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 + } + |