Prevent warnings on systems without $ENV{HOME} / $ENV{USER}
[app-lastmsg.git] / lastmsg
diff --git a/lastmsg b/lastmsg
index 7f818b77f0c90fb198c316ad8f05684ce5327475..65b47861db412574a42b116bf90a7e0c3011bff6 100755 (executable)
--- a/lastmsg
+++ b/lastmsg
@@ -65,7 +65,10 @@ string or a list of strings). The C<From> field of these emails is
 scanned.
 
 If not provided, it defaults to F</var/mail/$ENV{USER}> and
-F<$ENV{HOME}/Maildir/>.
+F<$ENV{HOME}/Maildir/>. If USER or HOME are not in the environment,
+the corresponding default directory is ignored. So on a system with
+neither of these variables defined, this option will default to an
+empty list.
 
 B<NOTE:> See L<Email::FolderType> for information on how the type of a
 folder is identified. In short, the suffix of the folder is analyzed:
This page took 0.009428 seconds and 4 git commands to generate.