summaryrefslogtreecommitdiff
path: root/mdmv
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-03-22 14:45:07 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-03-22 14:45:07 -0700
commit4de9d8cacde516fc5d38c6bddffbae39505e6f6a (patch)
tree00a9d47c66ae8f87dd0c5eabc66e496daf22f400 /mdmv
parent6804b5512a2d02370d5dafdd67de3d52d1a2d6bd (diff)
downloadmailscripts-4de9d8cacde516fc5d38c6bddffbae39505e6f6a.tar.gz
mdmv: ensure destination path ends with ':2,' when msg has no flags
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'mdmv')
-rwxr-xr-xmdmv2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdmv b/mdmv
index fa1533f..78a9222 100755
--- a/mdmv
+++ b/mdmv
@@ -59,7 +59,7 @@ for msg in sys.argv[1:-1]:
if flags:
msg_dest = os.path.join(os.path.join(dest, 'cur'), name_prefix + ':' + flags)
else:
- msg_dest = os.path.join(os.path.join(dest, 'cur'), name_prefix)
+ msg_dest = os.path.join(os.path.join(dest, 'cur'), name_prefix + ':2,')
if os.path.exists(msg_dest):
eprint(us + ": somehow, dest " + msg_dest + " already exists")