Commit fd80abda authored by antirez's avatar antirez
Browse files

Don't exit with error in tests temp file cleanup if there are no files to clean

parent 10dea8dc
......@@ -50,8 +50,8 @@ proc s {args} {
}
proc cleanup {} {
exec rm -rf {*}[glob tests/tmp/redis.conf.*]
exec rm -rf {*}[glob tests/tmp/server.*]
catch {exec rm -rf {*}[glob tests/tmp/redis.conf.*]}
catch {exec rm -rf {*}[glob tests/tmp/server.*]}
}
proc main {} {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment