summaryrefslogtreecommitdiff
path: root/bin/spack.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'bin/spack.ps1')
-rw-r--r--bin/spack.ps12
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/spack.ps1 b/bin/spack.ps1
index 5a82b0b620..1ceeb0a250 100644
--- a/bin/spack.ps1
+++ b/bin/spack.ps1
@@ -144,3 +144,5 @@ switch($SpackSubCommand)
"unload" {Invoke-SpackLoad}
default {python "$Env:SPACK_ROOT/bin/spack" $SpackCMD_params $SpackSubCommand $SpackSubCommandArgs}
}
+
+exit $LASTEXITCODE