Searched refs:output_path (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/creds/ |
D | creds.c | 442 const char *input_path, *output_path, *name; in verb_encrypt() local 462 output_path = empty_or_dash(argv[2]) ? NULL : argv[2]; in verb_encrypt() 468 else if (output_path) { in verb_encrypt() 469 r = path_extract_filename(output_path, &fname); in verb_encrypt() 471 … return log_error_errno(r, "Failed to extract filename from '%s': %m", output_path); in verb_encrypt() 473 … log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Path '%s' refers to directory, refusing.", output_path); in verb_encrypt() 522 if (output_path) in verb_encrypt() 523 … r = write_string_file(output_path, base64_buf, WRITE_STRING_FILE_ATOMIC|WRITE_STRING_FILE_CREATE); in verb_encrypt() 536 const char *input_path, *output_path, *name; in verb_decrypt() local 555 output_path = (argc < 3 || isempty(argv[2]) || streq(argv[2], "-")) ? NULL : argv[2]; in verb_decrypt() [all …]
|