Skip to content

Commit

Permalink
Fixed issue with piping
Browse files Browse the repository at this point in the history
  • Loading branch information
thebitstick committed Apr 22, 2020
1 parent c922948 commit e6703f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsubasa.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6703f8

Please sign in to comment.