Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libvirt_keywrap: handle hexdump when token unavailable
Commit 3bcc957 switched to usage of `hexdump`. Unfortunately, `hexdump` doesn't set error code if no token can be read and instead just notifies "hexdump: /sys/devices/virtual/misc/pkey/protkey/protkey_aes_128: No such device". Check for substring in output to handle this as if error code was set. Signed-off-by: Sebastian Mitterle <[email protected]>
- Loading branch information