diff options
Diffstat (limited to 'src/creds')
-rw-r--r-- | src/creds/creds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/creds/creds.c b/src/creds/creds.c index d987f04ef4..71bf355b38 100644 --- a/src/creds/creds.c +++ b/src/creds/creds.c @@ -563,7 +563,7 @@ static int verb_decrypt(int argc, char **argv, void *userdata) { if (r < 0) return log_error_errno(r, "Failed to read encrypted credential data: %m"); - output_path = (argc < 3 || isempty(argv[2]) || streq(argv[2], "-")) ? NULL : argv[2]; + output_path = (argc < 3 || empty_or_dash(argv[2])) ? NULL : argv[2]; if (arg_name_any) name = NULL; |