summaryrefslogtreecommitdiff
path: root/src/m-sync
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-05-27 04:12:50 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-05-27 04:12:50 +0200
commitb05762b6afcc16894f667d775451c08da34d790b (patch)
treeb52309cfcc6307da9a38ac7c47a78a85fecf33fc /src/m-sync
parentefc6d9d36168a18a134a079c0321a66e2ef375ab (diff)
downloadmum-b05762b6afcc16894f667d775451c08da34d790b.tar.gz
mum: Add 's' command (sync and read new messages)
Diffstat (limited to 'src/m-sync')
-rwxr-xr-xsrc/m-sync2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m-sync b/src/m-sync
index 73c232d..9e07c18 100755
--- a/src/m-sync
+++ b/src/m-sync
@@ -5,7 +5,7 @@
# Edit this script to your own preferences.
USERNAME=john@ankarstrom.se
-PASSWORD=`getpw`
+[ -z "$PASSWORD" ] && PASSWORD=`getpw`
export USERNAME PASSWORD
mkfifo mbox.i.fifo