Skip to content

Commit f254bf4

Browse files
committed
Style.
1 parent 2caddfa commit f254bf4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Rakefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@ task :start do
2525
end
2626

2727
unless redis_running
28-
unless system("which redis-server")
29-
STDERR.puts "redis-server not in PATH"
30-
exit 1
28+
unless system("which redis-server > /dev/null")
29+
abort "redis-server not in PATH"
3130
end
3231

3332
unless system("redis-server #{REDIS_CNF}")
34-
STDERR.puts "could not start redis-server"
35-
exit 1
33+
abort "could not start redis-server"
3634
end
3735
end
3836
end

0 commit comments

Comments
 (0)