diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-09-28 17:58:59 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-09-28 17:58:59 +0200 |
commit | f3e0d468218994343d0e595a50304cc122ad1406 (patch) | |
tree | 331f8bba68e1e5d38496897820fd4886687ebd0d /src/nix/run.cc | |
parent | 5421ad243e261d35bf8cb1000aa389399cf7657f (diff) |
nix run: Restore signals
Otherwise Ctrl-C doesn't work.
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r-- | src/nix/run.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc index c72ede99c..2f93ca351 100644 --- a/src/nix/run.cc +++ b/src/nix/run.cc @@ -130,6 +130,8 @@ struct CmdRun : InstallablesCommand stopProgressBar(); + restoreSignals(); + /* If this is a diverted store (i.e. its "logical" location (typically /nix/store) differs from its "physical" location (e.g. /home/eelco/nix/store), then run the command in a |