diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-26 03:21:21 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-11-26 03:21:21 -0500 |
commit | 3baca9a35c4f6e2bd910d5bc54c0008c13b0501a (patch) | |
tree | d68ee76b274ff10ea18369defd529417ea772921 /init.d/fsck.in | |
parent | 467f91d870926f7a0c5d47f5bfc1e8e596dbd669 (diff) |
fsck: fix typo in fsck mount point support
Previous commit e3b39a677b535bc2 missed adding a "[" to one of the tests.
Reported-by: Torsten Veller <tove@gentoo.org>
x-Gentoo-Bug: 391941
x-Gentoo-Bug-URL: http://bugs.gentoo.org/391941
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'init.d/fsck.in')
-rw-r--r-- | init.d/fsck.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |