From 08cd26d3944b84e5f7010083fc71814103d41497 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 10 Apr 2018 15:54:32 -0400 Subject: [PATCH] Update functions --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index e69d55a..1b2ac21 100755 --- a/functions +++ b/functions @@ -39,7 +39,7 @@ service_create() { if [[ -z $REDIS_CONFIG_PATH ]] ; then curl -sSL "https://raw.githubusercontent.com/antirez/redis/${PLUGIN_IMAGE_VERSION:0:3}/redis.conf" > "$SERVICE_ROOT/config/redis.conf" || dokku_log_fail "Unable to download the default redis.conf to the config directory" else - cp "$REDIS_CONFIG_PATH" "$SERVICE_ROOT/config/redis.conf" + cp "$REDIS_CONFIG_PATH" "$SERVICE_ROOT/config/redis.conf" || dokku_log_fail "Unable to copy the ${REDIS_CONFIG_PATH} to the config directory" fi PASSWORD=$(openssl rand -hex 32) if [[ -n "$SERVICE_PASSWORD" ]]; then