app-admin/filebeat: fix non-POSIX init script
authorAndrew Savchenko <bircoph@gentoo.org>
Sun, 12 Feb 2017 15:58:21 +0000 (18:58 +0300)
committerAndrew Savchenko <bircoph@gentoo.org>
Sun, 12 Feb 2017 16:03:04 +0000 (19:03 +0300)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
app-admin/filebeat/files/filebeat.initd

index da18022c20d75ce747c556d35494ee9313669f1c..01fccad2ea333a6948d9f181d667df2ae9ae775f 100644 (file)
@@ -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