From 231ffd477a756be76d0cf8f72466805127f3563f Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 26 Aug 2013 20:04:50 +0200 Subject: [PATCH] initrd.scripts: improve code style of fs_type_in_use --- defaults/initrd.scripts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index c573b32..e76c5aa 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -543,7 +543,7 @@ run_shell() { fs_type_in_use() { fs_type=$1 - cut -d ' ' -f 3 < /proc/mounts | fgrep -q "${fs_type}" + cut -d " " -f 3 < /proc/mounts | fgrep -q "${fs_type}" } is_udev() {