summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-03-17 16:04:57 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2024-03-17 16:04:57 +0100
commite4fb3e467a5fc8f54883b0e80c0c15d2ba22277b (patch)
treeef74cd463f5e98383c812c872dc2b7eca63de5c2
parent9090f3a157b598fc79f0f279316adf5c84e6bbd7 (diff)
don't use bashism for moving file descriptor
-rw-r--r--src/jwebmail/__init__.py2
-rw-r--r--src/jwebmail/model/read_mails.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py
index 58936df..07daa1c 100644
--- a/src/jwebmail/__init__.py
+++ b/src/jwebmail/__init__.py
@@ -34,7 +34,7 @@ else:
toml_read_file = dict(load=toml_load, text=True)
-__version__ = "2.2.0.dev2"
+__version__ = "2.2.0.dev3"
def validate_config(app):
diff --git a/src/jwebmail/model/read_mails.py b/src/jwebmail/model/read_mails.py
index 482030c..43f13ca 100644
--- a/src/jwebmail/model/read_mails.py
+++ b/src/jwebmail/model/read_mails.py
@@ -215,7 +215,7 @@ class QMailAuthuser:
)
if rp != 3:
- cmdline += f" 3<&{rp}-"
+ cmdline += f" 3<&{rp} {rp}<&-"
return cmdline