diff --git a/support/unit/lock.php b/support/unit/lock.php
--- a/support/unit/lock.php
+++ b/support/unit/lock.php
@@ -51,7 +51,7 @@
 
 try {
   $lock->lock($args->getArg('wait'));
-} catch (PhutilFileLockException $ex) {
+} catch (PhutilLockException $ex) {
   $console->writeOut(
     "**%s** %s\n",
     pht('UNABLE TO ACQUIRE LOCK:'),