[PR #345] [MERGED] set non-zero error code on error #56808

Closed
opened 2026-04-29 11:23:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/345
Author: @mxyng
Created: 8/14/2023
Status: Merged
Merged: 8/16/2023
Merged by: @mxyng

Base: mainHead: exit-non-zero


📝 Commits (1)

  • 76b85bc set non-zero error code on error

📊 Changes

2 files changed (+25 additions, -4 deletions)

View changed files

📝 cmd/cmd.go (+23 -3)
📝 main.go (+2 -1)

📄 Description

ollama should exit non-zero when operations fail


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/345 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 8/14/2023 **Status:** ✅ Merged **Merged:** 8/16/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `exit-non-zero` --- ### 📝 Commits (1) - [`76b85bc`](https://github.com/ollama/ollama/commit/76b85bc0e97e7499e100ecb2001c9573aeaba68b) set non-zero error code on error ### 📊 Changes **2 files changed** (+25 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+23 -3) 📝 `main.go` (+2 -1) </details> ### 📄 Description ollama should exit non-zero when operations fail --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 11:23:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#56808