summaryrefslogtreecommitdiff
path: root/src/creds
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-04-08 18:45:47 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-04-08 20:13:03 +0200
commite22983e80f5c95025549f28d30536afddc06f68d (patch)
treecc1ae3ca6c1b03b8bd839bd3e8b24cf0d74e3b94 /src/creds
parent6247128902ca71ee2ad406cf69af04ea389d3d27 (diff)
downloadsystemd-e22983e80f5c95025549f28d30536afddc06f68d.tar.gz
systemd-creds: fix name of env var
The env var is called $CREDENTIALS_DIRECTORY, not $CREDENTIALS_PATH. Fix message about it accordingly.
Diffstat (limited to 'src/creds')
-rw-r--r--src/creds/creds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/creds/creds.c b/src/creds/creds.c
index 2fd314ff37..6e3441e5a0 100644
--- a/src/creds/creds.c
+++ b/src/creds/creds.c
@@ -103,7 +103,7 @@ static int verb_list(int argc, char **argv, void *userdata) {
r = open_credential_directory(&d);
if (r == -ENXIO)
- return log_error_errno(r, "No credentials received. (i.e. $CREDENTIALS_PATH not set or pointing to empty directory.)");
+ return log_error_errno(r, "No credentials received. (i.e. $CREDENTIALS_DIRECTORY not set or pointing to empty directory.)");
if (r < 0)
return log_error_errno(r, "Failed to open credentials directory: %m");