summaryrefslogtreecommitdiff
path: root/khal-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-11-07 09:32:09 +0100
committerErich Eckner <git@eckner.net>2021-11-07 09:32:09 +0100
commitef1535e50e79addc11764d5525728f8bb9fe697e (patch)
treecce8b402a7ab5036a39c4b80b383758a2e0c06de /khal-list
parent8945e431c7b0c64dd4b1d508449943ba06f054a5 (diff)
downloadkhal-extras-ef1535e50e79addc11764d5525728f8bb9fe697e.tar.xz
stdout-redirection should happen outside of "script"
Diffstat (limited to 'khal-list')
-rwxr-xr-xkhal-list2
1 files changed, 1 insertions, 1 deletions
diff --git a/khal-list b/khal-list
index d4cdd47..fb0af2f 100755
--- a/khal-list
+++ b/khal-list
@@ -11,7 +11,7 @@ script -qefc '/usr/bin/khal list '"$(
date +"${date_format}" -d@$((
$(date +%s)+6*24*60*60
))
-)"' 2>'"${tmp_dir}"'/stderr >'"${tmp_dir}"'/stdout' /dev/null </dev/null
+)"' 2>'"${tmp_dir}"'/stderr' /dev/null </dev/null >"${tmp_dir}"/stdout
/usr/src/skripte/ansi-color-to-conky-color/ansi-color-to-conky-color "$@" \
< "${tmp_dir}/stdout" \