mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
cryptsetup: mention correct action in log message
This commit is contained in:
@@ -2485,7 +2485,7 @@ static int run(int argc, char *argv[]) {
|
||||
const char *volume = ASSERT_PTR(argv[optind + 1]);
|
||||
|
||||
if (argc - optind >= 3)
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "attach does not accept more than one argument.");
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "detach does not accept more than one argument.");
|
||||
|
||||
if (!filename_is_valid(volume))
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Volume name '%s' is not valid.", volume);
|
||||
|
||||
Reference in New Issue
Block a user