mirror of
https://github.com/NixOS/nix.git
synced 2025-12-18 23:11:08 +01:00
Merge pull request #13790 from xokdvium/fix-ci
libstore: Fix formatting
This commit is contained in:
commit
f3bd18f2b4
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