From 3baca9a35c4f6e2bd910d5bc54c0008c13b0501a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 26 Nov 2011 03:21:21 -0500 Subject: fsck: fix typo in fsck mount point support Previous commit e3b39a677b535bc2 missed adding a "[" to one of the tests. Reported-by: Torsten Veller x-Gentoo-Bug: 391941 x-Gentoo-Bug-URL: http://bugs.gentoo.org/391941 Signed-off-by: Mike Frysinger --- init.d/fsck.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/fsck.in b/init.d/fsck.in index 03b2939e..049caad2 100644 --- a/init.d/fsck.in +++ b/init.d/fsck.in @@ -48,7 +48,7 @@ start() if [ -n "$fsck_passno" ]; then check_extra="[passno $fsck_passno] $check_extra" - if -n "$fsck_mnt" ]; then + if [ -n "$fsck_mnt" ]; then eerror "Only 1 of fsck_passno and fsck_mnt must be set!" return 1 fi -- cgit v1.2.3