mirror of
https://github.com/NixOS/nix.git
synced 2025-04-15 13:47:34 +00:00
libutil: Fix error message
I encountered this with a misconfigured libutil. I doubt that a
non-lutimes config is viable, because tests were failing.
(cherry picked from commit 1cffcd91a9
)
# Conflicts:
# src/libutil/file-system.cc
This commit is contained in:
parent
8adc1f3011
commit
3cc7e8174d
@ -613,7 +613,11 @@ void setWriteTime(
|
||||
if (utimes(path.c_str(), times) == -1)
|
||||
throw SysError("changing modification time of '%s' (not a symlink)", path);
|
||||
} else {
|
||||
<<<<<<< HEAD
|
||||
throw Error("Cannot modification time of symlink '%s'", path);
|
||||
=======
|
||||
throw Error("Cannot change modification time of symlink %s", path);
|
||||
>>>>>>> 1cffcd91a (libutil: Fix error message)
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user