commit: 55be5f6346a1ed03dd36c63207959aa83630ec58 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Wed Jun 27 11:53:36 2018 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Wed Jun 27 11:54:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55be5f63
net-wireless/unifi: remove unneeded 'cd' from unifi.initd Since start-stop-daemon is already passing --chdir, the cd before the s-s-d call is unneeded. Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-wireless/unifi/files/unifi.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-wireless/unifi/files/unifi.initd b/net-wireless/unifi/files/unifi.initd index 87c798b5ecd..48fd9dd3b4a 100644 --- a/net-wireless/unifi/files/unifi.initd +++ b/net-wireless/unifi/files/unifi.initd @@ -15,7 +15,7 @@ depend() { start() { ebegin "Starting UniFi Controller" - cd "${UNIFI_PATH}" && start-stop-daemon --start --quiet --background --user ${UNIFI_USER} --group ${UNIFI_GROUP} --chdir ${UNIFI_PATH} --exec ${DAEMON} -- ${JAVA_OPTS} -jar ${ACE_LIB} start + start-stop-daemon --start --quiet --background --user ${UNIFI_USER} --group ${UNIFI_GROUP} --chdir ${UNIFI_PATH} --exec ${DAEMON} -- ${JAVA_OPTS} -jar ${ACE_LIB} start eend $? }