Merge pull request #131837 from NixOS/backport-131831-to-release-21.05

[Backport release-21.05] nixos-rebuild: Set inherit_errexit
This commit is contained in:
Eelco Dolstra 2021-07-28 22:53:44 +02:00 committed by GitHub
commit 5092dae98d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ if [ -x "@runtimeShell@" ]; then export SHELL="@runtimeShell@"; fi;
set -e
set -o pipefail
shopt -s inherit_errexit
export PATH=@path@:$PATH