* Pause if errors occur.

This commit is contained in:
Eelco Dolstra 2005-02-25 15:58:00 +00:00
parent 6bafeafb88
commit 8d3c346559
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ die unless defined $pkgFile;
# from a web browser, the user gets to see us.
if (!defined $ENV{"NIX_HAVE_TERMINAL"}) {
$ENV{"NIX_HAVE_TERMINAL"} = "1";
exec("xterm", "-e", "@bindir@/nix-install-package", "$pkgFile");
exec("xterm", "-e", "@shell@", "-c", "@bindir@/nix-install-package '$pkgFile' || read");
die "cannot execute `xterm'";
}