mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Don't exit with error in tests temp file cleanup if there are no files to clean
This commit is contained in:
@@ -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 {} {
|
||||
|
||||
Reference in New Issue
Block a user