mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-15 12:50:06 +01:00
Print empty line in status if underlying device disappeared.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@243 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
@@ -282,7 +282,7 @@ static int action_status(int arg)
|
||||
log_std("%s/%s is active:\n", crypt_get_dir(), options.name);
|
||||
log_std(" cipher: %s\n", options.cipher);
|
||||
log_std(" keysize: %d bits\n", options.key_size * 8);
|
||||
log_std(" device: %s\n", options.device);
|
||||
log_std(" device: %s\n", options.device ?: "");
|
||||
log_std(" offset: %" PRIu64 " sectors\n", options.offset);
|
||||
log_std(" size: %" PRIu64 " sectors\n", options.size);
|
||||
if (options.skip)
|
||||
|
||||
Reference in New Issue
Block a user