summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xselftest/selftest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index e0ea91d0f2..c42f6e6213 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -537,7 +537,7 @@ sub write_clientconf($$)
mkdir("$prefix/client/private", 0777);
}
- if ( -d "$prefix/client/lock" ) {
+ if ( -d "$prefix/client/lockdir" ) {
unlink <$prefix/client/lockdir/*>;
} else {
mkdir("$prefix/client/lockdir", 0777);