From 604abfbe6eaa55c33fe5a6b0732ef898fcaaaad8 Mon Sep 17 00:00:00 2001 From: Marcelo Borges Date: Mon, 10 Feb 2025 12:27:02 +0000 Subject: [PATCH] fix: change exit code to 0 when no input is detected in paste script Allow the paste script to exit gracefully with code 0 when no input is detected, enabling it to be used as input for other commands or algorithms without causing errors. --- scripts/paste | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/paste b/scripts/paste index 5fff09c..491294d 100755 --- a/scripts/paste +++ b/scripts/paste @@ -12,7 +12,7 @@ fi if [ -z "$clipboard_content" ]; then echoinfo "⚠️ No input received!" - exit 1 + exit 0 fi echoinfo "✅ Echoing clipboard contents:"