Skip to content

Commit

Permalink
missing redirection to stderr for some messages
Browse files Browse the repository at this point in the history
  • Loading branch information
phyver committed Nov 18, 2024
1 parent ed52aeb commit 8b6b66a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions missions/intermediate/06_control-C/Charmiglio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ magical_reaction() {
printf "%*s%s" "$indent" '' "$(random_string "$width" "$alpha")" >&2
if [ "$delay" -gt 2 ] && [ "$((delay % 10))" -eq 0 ] && [ "$show_msg" != 0 ]
then
printf "\t\t$(gettext "You can stop the incantation with Control-c.")"
printf "\t\t$(gettext "You can stop the incantation with Control-c.")" >&2
show_msg=0
fi
if [ "$((delay % 10))" -eq 1 ]
then
show_msg=1
fi
echo
echo >&2
sleep 0.1
done
}
Expand Down

0 comments on commit 8b6b66a

Please sign in to comment.