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