diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-12-16 23:50:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-12-16 23:50:25 +0000 |
commit | 0272aecd9b9e3bf68fab9868dbf43c5920d9d393 (patch) | |
tree | 14f920189e20b5c6ed190e705e6e0363a19c6c38 /sys-process/acct | |
parent | Version bump (diff) | |
download | gentoo-2-0272aecd9b9e3bf68fab9868dbf43c5920d9d393.tar.gz gentoo-2-0272aecd9b9e3bf68fab9868dbf43c5920d9d393.tar.bz2 gentoo-2-0272aecd9b9e3bf68fab9868dbf43c5920d9d393.zip |
Use [...] rather than [[...]] in init.d #447236 by Alexander Tsoy.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-process/acct')
-rw-r--r-- | sys-process/acct/ChangeLog | 5 | ||||
-rw-r--r-- | sys-process/acct/files/acct.initd | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sys-process/acct/ChangeLog b/sys-process/acct/ChangeLog index f9c4b8eb374c..8ac5500d782d 100644 --- a/sys-process/acct/ChangeLog +++ b/sys-process/acct/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/acct # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/ChangeLog,v 1.61 2012/09/30 17:54:54 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/ChangeLog,v 1.62 2012/12/16 23:50:25 vapier Exp $ + + 16 Dec 2012; Mike Frysinger <vapier@gentoo.org> files/acct.initd: + Use [...] rather than [[...]] in init.d #447236 by Alexander Tsoy. 30 Sep 2012; Raúl Porcel <armin76@gentoo.org> acct-6.5.5-r2.ebuild: alpha stable wrt #400513 diff --git a/sys-process/acct/files/acct.initd b/sys-process/acct/files/acct.initd index fa7c5049aca1..f54c837768cb 100644 --- a/sys-process/acct/files/acct.initd +++ b/sys-process/acct/files/acct.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/files/acct.initd,v 1.3 2011/10/20 05:07:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/files/acct.initd,v 1.4 2012/12/16 23:50:25 vapier Exp $ extra_started_commands="report" @@ -11,7 +11,7 @@ depend() { checkconfig() { export ACCT_LOG=${ACCT_LOG:-/var/account/pacct} - if [[ ! -e ${ACCT_LOG} ]] ; then + if [ ! -e "${ACCT_LOG}" ] ; then touch "${ACCT_LOG}" chmod 600 "${ACCT_LOG}" fi |