1 |
commit: 656658acb7f01bf2031f121e5dd4081dfd7dbb35 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 12 15:58:21 2017 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 12 16:03:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=656658ac |
7 |
|
8 |
app-admin/filebeat: fix non-POSIX init script |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
app-admin/filebeat/files/filebeat.initd | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/app-admin/filebeat/files/filebeat.initd b/app-admin/filebeat/files/filebeat.initd |
17 |
index da18022c20..01fccad2ea 100644 |
18 |
--- a/app-admin/filebeat/files/filebeat.initd |
19 |
+++ b/app-admin/filebeat/files/filebeat.initd |
20 |
@@ -24,7 +24,7 @@ depend() { |
21 |
} |
22 |
|
23 |
checkconfig() { |
24 |
- if [[ ! -e ${FILEBEAT_CONFIG} ]]; then |
25 |
+ if [ ! -e ${FILEBEAT_CONFIG} ]; then |
26 |
eend "Please create a configuration file at ${FILEBEAT_CONFIG}" |
27 |
return 1 |
28 |
fi |