mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 06:30:30 +00:00
systemd-creds: fix name of env var
The env var is called $CREDENTIALS_DIRECTORY, not $CREDENTIALS_PATH. Fix message about it accordingly.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
6247128902
commit
e22983e80f
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user