aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index edfd26b0b..d8d3751a1 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -154,6 +154,7 @@ bool pathExists(const Path & path)
Path readLink(const Path & path)
{
+ checkInterrupt();
struct stat st;
if (lstat(path.c_str(), &st))
throw SysError(format("getting status of `%1%'") % path);