Skip to content

Commit 1dc2a05

Browse files
author
Ørjan Ommundsen
authored
Merge pull request #1 from obliadp/fix_initscript_conditional
minor fix to conditional in debian initscript
2 parents 79416a1 + e35e480 commit 1dc2a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/etc/init.d/debian_redis-sentinel.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ start() {
2424
local retval
2525

2626
[ -f "$REDIS_CONF_FILE" ] || exit 6
27-
[ -d <%= @sentinel_run_dir %> ] mkdir -p <%= @sentinel_run_dir %>
27+
[ -d <%= @sentinel_run_dir %> ] || mkdir -p <%= @sentinel_run_dir %>
2828
cp -u $REDIS_CONF_FILE $RUNTIME_CONF_FILE
2929

3030
log_daemon_msg "Starting $REDIS_NAME"

0 commit comments

Comments
 (0)