Skip to content

Commit fb5f74b

Browse files
committed
dropit: fix logging
1 parent 7e86907 commit fb5f74b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dropit/dropit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ die() {
1414
exit 1
1515
}
1616

17+
log() {
18+
echo -e "\e[0;32m$*\e[0m" >&2
19+
}
20+
1721
errorHandler() {
1822
echo -e "\e[0;31m[BUG] Line $3 ($2): $1\e[0m" >&2
1923
if [[ -e "${remainingUsagesFile:-}" ]]; then

0 commit comments

Comments
 (0)