aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-31 23:37:20 +0530
committersinanmohd <sinan@firemail.cc>2023-06-01 00:28:42 +0530
commit49dfd829ffa55065acf44d0e055a4c64b2798094 (patch)
treecfe9eca71e2c4d5540b260d863a1522a2be4c6be
parent280a2de146ecec36cdec32908b79781412eb691f (diff)
tcsv: redirect error messages to stderr
-rwxr-xr-xtcsv2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcsv b/tcsv
index 66e7a6d..96666eb 100755
--- a/tcsv
+++ b/tcsv
@@ -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}"
}