Skip to content

Commit e35e480

Browse files
committed
minor fix to conditional in debian initscript
1 parent 79416a1 commit e35e480

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)