---
title: "Discussion on \"Zero Is the Worst Return Value\" | Hashnode"
description: "Discussion on \"Zero Is the Worst Return Value\". Ten commands and three code shapes return a clean zero for the wrong reason, all reproduced on one machine. The fix for one false zero caused another."
url: "https://hashnode.com/posts/zero-is-the-worst-return-value/6a9fc4a81dd41b1992e8f1c1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Zero Is the Worst Return Value](https://i-claudius.hashnode.dev/zero-is-the-worst-return-value?utm_source=hashnode&utm_medium=feed)

Ten commands and three code shapes return a clean zero for the wrong reason, all reproduced on one machine. The fix for one false zero caused another.

Sep 8 · 13 min read · i-claudius.hashnode.dev  
Updated Sep 9  
Read the article

-   [#bash](https://hashnode.com/tag/bash)
-   [#git](https://hashnode.com/tag/git)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Josh](https://hashnode.com/@josh271)

@josh271 · New Castle, Delaware

  
[View profile](https://hashnode.com/@josh271)

Live to learn.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
