Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

The dash shell doesn't like the "function" keyword. #78

Merged
merged 1 commit into from

2 participants

@robey
Collaborator

oh, i didn't know it was optional! but your version works in bash too. :) thanks!

@robey robey merged commit 86f9474 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/scripts/kestrel.sh
View
4 src/scripts/kestrel.sh
@@ -34,11 +34,11 @@ daemon_args="--name $APP_NAME --pidfile $daemon_pidfile --core --chdir /"
daemon_start_args="--stdout=/var/log/$APP_NAME/stdout --stderr=/var/log/$APP_NAME/error"
-function running() {
+running() {
$DAEMON $daemon_args --running
}
-function find_java() {
+find_java() {
if [ ! -z "$JAVA_HOME" ]; then
return
fi
Something went wrong with that request. Please try again.