diff options
author | sinanmohd <sinan@firemail.cc> | 2023-05-31 23:37:20 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-06-01 00:28:42 +0530 |
commit | 49dfd829ffa55065acf44d0e055a4c64b2798094 (patch) | |
tree | cfe9eca71e2c4d5540b260d863a1522a2be4c6be | |
parent | 280a2de146ecec36cdec32908b79781412eb691f (diff) |
tcsv: redirect error messages to stderr
-rwxr-xr-x | tcsv | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ die() command -v notify-send > /dev/null && notify-send " torrents-csv" "$1" - printf "\033[31;1merr: %b\033[0m\n" "$1" + printf "\033[31;1merr: %b\033[0m\n" "$1" 1>&2 exit "${2:-1}" } |