diff options
Diffstat (limited to 'third_party/nix/src/libutil/util.hh')
-rw-r--r-- | third_party/nix/src/libutil/util.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/nix/src/libutil/util.hh b/third_party/nix/src/libutil/util.hh index 9331fca7f30b..b5383b6e71f8 100644 --- a/third_party/nix/src/libutil/util.hh +++ b/third_party/nix/src/libutil/util.hh @@ -301,7 +301,9 @@ void setInterruptThrown(); void _interrupted(); void inline checkInterrupt() { - if (_isInterrupted || (interruptCheck && interruptCheck())) _interrupted(); + if (_isInterrupted || (interruptCheck && interruptCheck())) { + _interrupted(); + } } MakeError(Interrupted, BaseError); |