1 |
commit: 3baca9a35c4f6e2bd910d5bc54c0008c13b0501a |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 26 08:21:21 2011 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 26 08:21:21 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=3baca9a3 |
7 |
|
8 |
fsck: fix typo in fsck mount point support |
9 |
|
10 |
Previous commit e3b39a677b535bc2 missed adding a "[" to one of the tests. |
11 |
|
12 |
Reported-by: Torsten Veller <tove <AT> gentoo.org> |
13 |
x-Gentoo-Bug: 391941 |
14 |
x-Gentoo-Bug-URL: http://bugs.gentoo.org/391941 |
15 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
16 |
|
17 |
--- |
18 |
init.d/fsck.in | 2 +- |
19 |
1 files changed, 1 insertions(+), 1 deletions(-) |
20 |
|
21 |
diff --git a/init.d/fsck.in b/init.d/fsck.in |
22 |
index 03b2939..049caad 100644 |
23 |
--- a/init.d/fsck.in |
24 |
+++ b/init.d/fsck.in |
25 |
@@ -48,7 +48,7 @@ start() |
26 |
|
27 |
if [ -n "$fsck_passno" ]; then |
28 |
check_extra="[passno $fsck_passno] $check_extra" |
29 |
- if -n "$fsck_mnt" ]; then |
30 |
+ if [ -n "$fsck_mnt" ]; then |
31 |
eerror "Only 1 of fsck_passno and fsck_mnt must be set!" |
32 |
return 1 |
33 |
fi |