diff options
author | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2015-03-20 19:43:26 +0000 |
---|---|---|
committer | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2015-03-20 19:43:26 +0000 |
commit | d663f36cfbabd87d825bf287137b756e678650a9 (patch) | |
tree | 53d8e0559fa044e1c646801f41fe84f56c5b73ae /app-admin | |
parent | Stable on ppc and ppc64. Bug #530312. (diff) | |
download | gentoo-2-d663f36cfbabd87d825bf287137b756e678650a9.tar.gz gentoo-2-d663f36cfbabd87d825bf287137b756e678650a9.tar.bz2 gentoo-2-d663f36cfbabd87d825bf287137b756e678650a9.zip |
Don't warn if there's no tmp directory.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key F0134531E1DBFAB5)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/logstash-forwarder/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/logstash-forwarder/files/logstash-forwarder.initd | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/app-admin/logstash-forwarder/ChangeLog b/app-admin/logstash-forwarder/ChangeLog index f49e2d055da7..40f99349bd2a 100644 --- a/app-admin/logstash-forwarder/ChangeLog +++ b/app-admin/logstash-forwarder/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/logstash-forwarder # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logstash-forwarder/ChangeLog,v 1.1 2015/03/20 16:06:41 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logstash-forwarder/ChangeLog,v 1.2 2015/03/20 19:43:25 aidecoe Exp $ + + 20 Mar 2015; Amadeusz Żołnowski <aidecoe@gentoo.org> + files/logstash-forwarder.initd: + Don't warn if there's no tmp directory. *logstash-forwarder-0.4.0 (20 Mar 2015) diff --git a/app-admin/logstash-forwarder/files/logstash-forwarder.initd b/app-admin/logstash-forwarder/files/logstash-forwarder.initd index 651fe3d50b55..906be4019f7d 100644 --- a/app-admin/logstash-forwarder/files/logstash-forwarder.initd +++ b/app-admin/logstash-forwarder/files/logstash-forwarder.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logstash-forwarder/files/logstash-forwarder.initd,v 1.1 2015/03/20 16:06:41 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logstash-forwarder/files/logstash-forwarder.initd,v 1.2 2015/03/20 19:43:26 aidecoe Exp $ create_tmpdir() { local tmpdir="$(mktemp -d -p /tmp logstash-forwarder.XXXXXXXXXX)" @@ -17,7 +17,7 @@ remove_tmpdir() { local tmpdir='' for d in /tmp/logstash-forwarder.??????????; do - [[ -e $d ]] || return 1 + [[ -e $d ]] || return 0 [[ -d $d ]] || continue if ! [[ $tmpdir ]]; then |