summaryrefslogtreecommitdiff
path: root/scripts/mumi.in
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-03-12 12:41:31 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-03-12 12:41:31 +0100
commit6653e2d525b945fcd671dbfbf7b42cc588a1cf4b (patch)
tree9499fb1416903357ad42dbd5ca5dd98e2b61a256 /scripts/mumi.in
parent419c83fddbcb7f2f8308b729acaa048141769812 (diff)
scripts: Adjust error message on index failure.
* scripts/mumi.in (mu-index): Don't use undeclared variable COMMAND.
Diffstat (limited to 'scripts/mumi.in')
-rw-r--r--scripts/mumi.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mumi.in b/scripts/mumi.in
index 1e9b1ce..3460292 100644
--- a/scripts/mumi.in
+++ b/scripts/mumi.in
@@ -3,7 +3,7 @@
-*- geiser-scheme-implementation: guile -*-
!#
;;; mumi -- Mediocre, uh, mail interface
-;;; Copyright © 2016, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of mumi.
@@ -52,7 +52,7 @@
(format #f "--maildir=~a" maildir))))
(unless (zero? (apply system* mu args))
(format (current-error-port)
- "Failed to run `~a'~%" command))))))
+ "Failed to index `~a'~%" (%config 'mail-dir)))))))
(define update-state!
(lambda _