Re: search: exit code 1 when running as www-data user

Subject: Re: search: exit code 1 when running as www-data user

Date: Sun, 25 Oct 2026 18:45:20 +0100

To: notmuch@notmuchmail.org

Cc:

From: Christian Weiske


Hello David,


>The rule is to look in XDG locations before inside database.path, and
>those are (implicitely) defined in terms of $HOME. Still it sounds like
>notmuch is getting confused by $HOME not being defined, and exiting
>instead of carrying on to try the next possibility. I would be
>interested in any error messages, but I'm guessing from your previous
>post there isn't any.

Nope.
You can reproduce this problem by unsetting HOME in your shell:

$ unset HOME
$ notmuch --config /home/cweiske/.config/notmuch/default/config search
--limit 1 test; echo $?
1


-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: