From e6703f8ade6459375e7a098f570feafda432351c Mon Sep 17 00:00:00 2001 From: thebitstick Date: Tue, 21 Apr 2020 19:39:39 -0500 Subject: [PATCH] Fixed issue with piping --- tsubasa.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsubasa.fish b/tsubasa.fish index 63dbea2..78c723e 100755 --- a/tsubasa.fish +++ b/tsubasa.fish @@ -120,7 +120,7 @@ check_verbosity "message=(zenity --title='Share to Fediverse' --ok-label=Send \ zenity --title='Share to Fediverse' --ok-label=Send --cancel-label=Cancel \ --text-info --editable --width=350 --height=250 | read -z message -if test $status -eq 1 +if test $pipestatus[1] -eq 1 echo "$basename: cancelled by user" exit 1 end