From 6653e2d525b945fcd671dbfbf7b42cc588a1cf4b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 12 Mar 2020 12:41:31 +0100 Subject: scripts: Adjust error message on index failure. * scripts/mumi.in (mu-index): Don't use undeclared variable COMMAND. --- scripts/mumi.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/mumi.in') 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 +;;; Copyright © 2016, 2017, 2019, 2020 Ricardo Wurmus ;;; Copyright © 2018 Arun Isaac ;;; ;;; 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 _ -- cgit v1.2.3