summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2017-02-12 18:58:21 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2017-02-12 19:03:04 +0300
commit656658acb7f01bf2031f121e5dd4081dfd7dbb35 (patch)
treeb522001cc434fed139a68d5803899042e118e358 /app-admin/filebeat
parentapp-admin/cancd: fix non-POSIX init script (diff)
downloadgentoo-656658acb7f01bf2031f121e5dd4081dfd7dbb35.tar.gz
gentoo-656658acb7f01bf2031f121e5dd4081dfd7dbb35.tar.bz2
gentoo-656658acb7f01bf2031f121e5dd4081dfd7dbb35.zip
app-admin/filebeat: fix non-POSIX init script
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'app-admin/filebeat')
-rw-r--r--app-admin/filebeat/files/filebeat.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-admin/filebeat/files/filebeat.initd b/app-admin/filebeat/files/filebeat.initd
index da18022c20d7..01fccad2ea33 100644
--- a/app-admin/filebeat/files/filebeat.initd
+++ b/app-admin/filebeat/files/filebeat.initd
@@ -24,7 +24,7 @@ depend() {
}
checkconfig() {
- if [[ ! -e ${FILEBEAT_CONFIG} ]]; then
+ if [ ! -e ${FILEBEAT_CONFIG} ]; then
eend "Please create a configuration file at ${FILEBEAT_CONFIG}"
return 1
fi