cryptenroll: show better log message if slot to wipe does not exist
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Tue, 19 Nov 2024 10:26:49 +0000 (11:26 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Nov 2024 14:04:47 +0000 (15:04 +0100)
commit4a3d55a032053525ab331e4af6f95ec2dc053ee9
tree01fa45ed6a42613368c5cd3bc4f57dae6f989031
parent1877797299a9279cdc2750c21c641d6a167418ac
cryptenroll: show better log message if slot to wipe does not exist

```
$ systemd-cryptenroll /dev/vda3
SLOT TYPE
   0 password
$ systemd-cryptenroll --wipe-slot 1 /dev/vda3
Failed to wipe slot 1, continuing: No such file or directory
```

(cherry picked from commit 2b251491debf9cab695f5f34da9908ca46f085fe)
src/cryptenroll/cryptenroll-wipe.c