aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgenenetwork-local-container.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/genenetwork-local-container.sh b/genenetwork-local-container.sh
index 2bbe529..bbdf01c 100755
--- a/genenetwork-local-container.sh
+++ b/genenetwork-local-container.sh
@@ -74,7 +74,7 @@ for cmd in git guix sudo diff cp grep; do
done
# Check for gn-bioinformatics channel
-guix describe | grep gn-bioinformatics &> /dev/null && log "INFO" "guix guix-informatics $(guix describe | grep gn-bioinformatics | cut -d ' ' -f 4)" || log "ERROR" "Please make sure your current profile has gn-bioinformatics"
+guix describe | grep gn-bioinformatics &> /dev/null && log "INFO" "guix guix-informatics $(guix describe | grep gn-bioinformatics | cut -d ' ' -f 4)" || (log "ERROR" "Please make sure your current profile has gn-bioinformatics" && exit 1)
# Validate HOME is set
if [ -z "${HOME:-}" ]; then