1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

libstore: Fix formatting

Wasn't caught by CI because the PR wasn't fresh enough
and didn't have formatting checks enabled.
This commit is contained in:
Sergei Zimmerman 2025-08-18 23:24:07 +03:00
parent dc2478fe79
commit 62018b3a7f
No known key found for this signature in database

View file

@ -232,7 +232,8 @@ LocalStore::LocalStore(ref<const Config> config)
globalLock = openLockFile(globalLockPath.c_str(), true); globalLock = openLockFile(globalLockPath.c_str(), true);
} catch (SysError & e) { } catch (SysError & e) {
if (e.errNo == EACCES || e.errNo == EPERM) { if (e.errNo == EACCES || e.errNo == EPERM) {
e.addTrace({}, e.addTrace(
{},
"This command may have been run as non-root in a single-user Nix installation,\n" "This command may have been run as non-root in a single-user Nix installation,\n"
"or the Nix daemon may have crashed."); "or the Nix daemon may have crashed.");
} }