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:
parent
dc2478fe79
commit
62018b3a7f
1 changed files with 2 additions and 1 deletions
|
|
@ -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.");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue